1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
;(function (f) {
// CommonJS
if (typeof exports === "object" && typeof module !== "undefined") {
module.exports = f();
// RequireJS
} else if (typeof define === "function" && define.amd) {
define([], f);
// <script>
} else {
var g
if (typeof window !== "undefined") {
g = window;
} else if (typeof global !== "undefined") {
g = global;
} else if (typeof self !== "undefined") {
g = self;
} else {
// works providing we're not in "use strict";
// needed for Java 8 Nashorn
// see https://github.com/facebook/react/issues/3037
g = this;
}
defineNamespace()
}
})(function () {
source()//trick uglify-js into not minifying
});
|