3.0 source code

This commit is contained in:
agolybev
2015-04-28 17:59:00 +03:00
parent c69fd34bdd
commit 7b3b2248e5
16311 changed files with 1445974 additions and 3108429 deletions

View File

@@ -0,0 +1,39 @@
define('one', function () {
return { name: 'one' };
});
define('two', function () {
return { name: 'two' };
});
define('three', ['one'], function (one) {
return { name: 'three',
one: one
};
});
require([], function() {
require({
map : {
'*': {
'one': 'two'
}
}
},
['three'],
function (three) {
doh.register(
'mapConfigDelayed',
[
function mapConfigDelayed(t){
t.is('three', three.name);
t.is('two', three.one.name);
}
]
);
doh.run();
}
);
});
define("app", function(){});