Files
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

25 lines
538 B
JavaScript

require(['one'], function (one) {
define('nested', ['two'], function (two) {
return {
name: 'nested',
two: two
};
});
require(['nested'], function (nested) {
doh.register(
"nestedDefine2",
[
function nestedDefine2(t) {
t.is("one", one.name);
t.is("two", nested.two.name);
t.is("nested", nested.name);
}
]
);
doh.run();
});
});