arian/mootools-core — comment on commit 7a793dd7fca3b57aae5b946cee1c1060be8425c2
File: Source/Element/Element.js line 1055
By ibolmo:

This probably doesn't work, but I hope illustrates the intention:

``` js
if (!has('amd')) define = (function(def){

return function(name, deps, callback){
def(name, deps, callback);

if (typeof name != 'array') name = [name];
var module;
while ((module = name.shift()) Core.global[module] = require(module);
};

})(this.define);
```