global use first

This commit is contained in:
Arusantimo_macbook
2016-11-11 13:26:44 +09:00
parent 9b92331410
commit 1eee64088d
3 changed files with 9 additions and 9 deletions

View File

@@ -270,4 +270,4 @@
}
Konva.document = document;
Konva.window = window;
})(typeof window !== 'undefined' ? window : global);
})(typeof global !== 'undefined' ? global : window);