2014-10-19 17:48:59 +11:00

24 lines
533 B
JavaScript

"use strict";
(function (factory) {
if (typeof define === "function" && define.amd) {
define(["exports", "foo"], factory);
} else if (typeof exports !== "undefined") {
factory(exports, require("foo"));
}
})(function (exports, _foo) {
(function(obj) {
for (var i in obj) {
exports[i] = obj[i];
}
})(_foo);
exports.foo = _foo.foo;
exports.foo = _foo.foo;
exports.bar = _foo.bar;
exports.bar = _foo.foo;
exports.default = _foo.foo;
exports.default = _foo.foo;
exports.bar = _foo.bar;
});