Fixed echojs

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2019-02-27 14:39:36 +01:00
parent bfc68491fc
commit 1fea68e723

View File

@ -1,12 +1,12 @@
(function (global, factory) {
if (typeof exports === "object" && typeof module !== "undefined") {
module.exports = factory(global.document);
module.exports = factory(global);
}
else if (typeof define === "function" && define.amd) {
define([global.document], factory);
define([global], factory);
} else {
global = global || self;
global.echo = factory(global.document);
global.echo = factory(global);
}
})(this, function (root) {