update dryice build script
This commit is contained in:
parent
58dc601000
commit
850c13a22c
6 changed files with 128 additions and 121 deletions
|
|
@ -76,19 +76,10 @@ function require(module, callback) {
|
|||
|
||||
return payload;
|
||||
};
|
||||
|
||||
window.define = function(module, payload) {
|
||||
if (typeof module !== 'string') {
|
||||
console.error('dropping module because define wasn\'t munged.');
|
||||
console.trace();
|
||||
return;
|
||||
}
|
||||
|
||||
// console.log('defining module: ' + module + ' as a ' + typeof payload);
|
||||
require.modules[module] = payload;
|
||||
}
|
||||
}
|
||||
|
||||
require.packaged = true;
|
||||
|
||||
/**
|
||||
* Internal function to lookup moduleNames and resolve them by calling the
|
||||
* definition function if needed.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue