blob: f5654958b54a437a0a6dae8d007f9fc4925da525 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/*
* Script-only addition used for production loader
*
*/
hookConstructor(function(constructor) {
return function() {
constructor.apply(this, arguments);
__global.define = this.amdDefine;
};
});
hook('fetch', function(fetch) {
return function(load) {
load.metadata.scriptLoad = true;
return fetch.call(this, load);
};
});
|