Merge branch 'master' of github.com:ericdrowell/KineticJS

This commit is contained in:
Лаврёнов Антон
2014-08-10 15:52:17 +08:00

View File

@@ -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);