Files
DocumentServer-v-9.2.0/web-apps/vendor/requirejs/tests/specialDeps/specialDeps-tests.js
Yajbir Singh f1b860b25c
Some checks failed
check / markdownlint (push) Has been cancelled
check / spellchecker (push) Has been cancelled
updated
2025-12-11 19:03:17 +05:30

21 lines
348 B
JavaScript

require.config({
config: {
foo: {
related: 'bar'
}
}
});
require(["foo"], function (foo) {
doh.register(
"specialDeps",
[
function specialDeps(t) {
t.is("foo", foo.name);
t.is("bar", foo.related);
}
]
);
doh.run();
});