update dryice build script

This commit is contained in:
Fabian Jakobs 2011-01-31 14:20:26 +01:00
commit 850c13a22c
6 changed files with 128 additions and 121 deletions

View file

@ -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.