Use === and !== in output.js.
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
for (var key in exports) $hx_exports[key] = $hx_exports[key] || exports[key];
|
||||
|
||||
var lime = exports.lime || window.lime;
|
||||
if (lime && lime.embed && this != lime.embed) lime.embed.apply(lime, arguments);
|
||||
if (lime && lime.embed && this !== lime.embed) lime.embed.apply(lime, arguments);
|
||||
|
||||
return exports;
|
||||
};
|
||||
@@ -30,18 +30,18 @@
|
||||
// AMD compatibility: If define() is present we need to
|
||||
// - call it, to define our module
|
||||
// - disable it so that the embedded libraries register themselves in the global scope!
|
||||
if (typeof define == "function" && define.amd) {
|
||||
if (typeof define === "function" && define.amd) {
|
||||
define([], function () { return $hx_exports.lime; });
|
||||
define.__amd = define.amd;
|
||||
define.amd = null;
|
||||
}
|
||||
})(typeof exports != "undefined" ? exports : typeof define == "function" && define.amd ? {} : typeof window != "undefined" ? window : typeof self != "undefined" ? self : this,
|
||||
typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : this);
|
||||
})(typeof exports !== "undefined" ? exports : typeof define === "function" && define.amd ? {} : typeof window !== "undefined" ? window : typeof self !== "undefined" ? self : this,
|
||||
typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : this);
|
||||
|
||||
::if embeddedLibraries::::foreach embeddedLibraries::
|
||||
::__current__::::end::::end::
|
||||
|
||||
if (typeof define == "function" && define.__amd) {
|
||||
if (typeof define === "function" && define.__amd) {
|
||||
define.amd = define.__amd;
|
||||
delete define.__amd;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user