Files
DocumentServer-v-9.2.0/web-apps/vendor/requirejs/tests/requireAsync/requireAsync-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

22 lines
315 B
JavaScript

define('a', {
name: 'a'
});
require(['a', 'b'], function (a, b) {
doh.register(
"requireAsync",
[
function requireAsync(t){
t.is('a', a.name);
t.is('b', b.name);
}
]
);
doh.run();
});
define('b', {
name: 'b'
});