Merge pull request #185 from i-robo/use-global-first

global use first
This commit is contained in:
Anton Lavrenov
2016-11-11 07:43:59 -06:00
committed by GitHub
3 changed files with 11 additions and 11 deletions

View File

@@ -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)
@@ -224,8 +224,8 @@
};
var glob =
typeof window !== 'undefined' ? window :
typeof global !== 'undefined' ? global :
typeof window !== 'undefined' ? window :
typeof WorkerGlobalScope !== 'undefined' ? self : {};
@@ -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

File diff suppressed because one or more lines are too long

View File

@@ -224,8 +224,8 @@
};
var glob =
typeof window !== 'undefined' ? window :
typeof global !== 'undefined' ? global :
typeof window !== 'undefined' ? window :
typeof WorkerGlobalScope !== 'undefined' ? self : {};
@@ -270,4 +270,4 @@
}
Konva.document = document;
Konva.window = window;
})(typeof window !== 'undefined' ? window : global);
})(typeof global !== 'undefined' ? global : window);