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

30 lines
500 B
JavaScript

define('lib/b', [], { name: 'b' });
define('b1', [], { name: 'b1' });
define('lib/a', ['./b'], function(b) {
return {
name: 'a',
b: b
};
});
require({
map: {
'lib/a': {
'lib/b': 'b1'
}
}
},['lib/a'], function(a) {
doh.register(
'mapConfigRelative',
[
function mapConfigRelative(t){
t.is('a', a.name);
t.is('b1', a.b.name);
}
]
);
doh.run();
});