mirror of
https://github.com/konvajs/konva.git
synced 2026-01-24 05:45:14 +08:00
global use first
This commit is contained in:
4
konva.js
4
konva.js
@@ -3,7 +3,7 @@
|
||||
* Konva JavaScript Framework v1.2.2
|
||||
* http://konvajs.github.io/
|
||||
* Licensed under the MIT or GPL Version 2 licenses.
|
||||
* Date: Thu Nov 10 2016
|
||||
* Date: Fri Nov 11 2016
|
||||
*
|
||||
* Original work Copyright (C) 2011 - 2013 by Eric Rowell (KineticJS)
|
||||
* Modified work Copyright (C) 2014 - 2015 by Anton Lavrenov (Konva)
|
||||
@@ -270,7 +270,7 @@
|
||||
}
|
||||
Konva.document = document;
|
||||
Konva.window = window;
|
||||
})(typeof window !== 'undefined' ? window : global);
|
||||
})(typeof global !== 'undefined' ? global : window);
|
||||
|
||||
/*eslint-disable eqeqeq, no-cond-assign, no-empty*/
|
||||
(function() {
|
||||
|
||||
12
konva.min.js
vendored
12
konva.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -270,4 +270,4 @@
|
||||
}
|
||||
Konva.document = document;
|
||||
Konva.window = window;
|
||||
})(typeof window !== 'undefined' ? window : global);
|
||||
})(typeof global !== 'undefined' ? global : window);
|
||||
|
||||
Reference in New Issue
Block a user