mirror of
https://github.com/konvajs/konva.git
synced 2026-01-23 21:34:50 +08:00
global use first
This commit is contained in:
@@ -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