mirror of
https://github.com/konvajs/konva.git
synced 2025-09-19 19:07:59 +08:00
Merge branch 'master' of github.com:ericdrowell/KineticJS
This commit is contained in:
@@ -673,7 +673,7 @@
|
||||
var container = this.getContainer();
|
||||
if (!container) {
|
||||
if (Kinetic.Util.isBrowser()) {
|
||||
throw 'Stage has not container. But container is required';
|
||||
throw 'Stage has no container. A container is required.';
|
||||
} else {
|
||||
// automatically create element for jsdom in nodejs env
|
||||
container = Kinetic.document.createElement(DIV);
|
||||
|
Reference in New Issue
Block a user