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

29 lines
623 B
JavaScript

define('components/one/One', ['jquery'], function () {
return {
name: 'One'
};
});
require([], function () {
require({
paths : {
'jquery' : 'http://code.jquery.com/jquery-1.7.2.min'
}
},
[
'components/one/One'
], function (One) {
doh.register(
"nestedRequireConfig",
[
function nestedRequireConfig(t){
t.is('One', One.name);
t.is(true, !!jQuery);
}
]
);
doh.run();
});
});
define("nestedRequireConfig", function(){});