2
0
tentone 2 жил өмнө
parent
commit
f138428817

+ 3 - 3
build/escher.js

@@ -1,8 +1,8 @@
 (function (global, factory) {
 	typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
 	typeof define === 'function' && define.amd ? define(['exports'], factory) :
-	(global = global || self, factory(global.Escher = {}));
-}(this, (function (exports) { 'use strict';
+	(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.Escher = {}));
+})(this, (function (exports) { 'use strict';
 
 	/**
 	 * EventManager is used to manager DOM events creating and destruction in a single function call.
@@ -6385,4 +6385,4 @@
 
 	Object.defineProperty(exports, '__esModule', { value: true });
 
-})));
+}));

+ 5 - 5
package.json

@@ -24,10 +24,10 @@
 	"license": "MIT",
 	"dependencies": {},
 	"devDependencies": {
-		"jsdoc": "^3.6.4",
-		"uglify-js": "^3.9.2",
-		"rollup": "^2.9.1",
-		"rollup-plugin-strip": "^1.2.2",
-		"rollup-plugin-serve": "^2.0.0-beta.0"
+		"jsdoc": "~3.6.11",
+		"uglify-js": "~3.17.0",
+		"rollup": "~2.78.1",
+		"rollup-plugin-strip": "~1.2.2",
+		"rollup-plugin-serve": "~2.0.1"
 	}
 }

+ 0 - 1
source/input/Pointer.js

@@ -437,5 +437,4 @@ Pointer.dispose = function()
 	this.events.destroy();
 };
 
-
 export {Pointer};