3.0 source code
This commit is contained in:
13
OfficeWeb/vendor/requirejs/tests/onResourceLoad/a.js
vendored
Normal file
13
OfficeWeb/vendor/requirejs/tests/onResourceLoad/a.js
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
define(function (require) {
|
||||
//Important, notice the space between require and arg calls
|
||||
var b = require ('b');
|
||||
|
||||
return (a = {
|
||||
name: 'a',
|
||||
b: b,
|
||||
ids: [],
|
||||
add: function (id) {
|
||||
this.ids.push(id);
|
||||
}
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user