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