Fix grammar for missing container error message

This commit is contained in:
Matt Burke
2014-07-29 12:47:53 -04:00
parent d8a429ac85
commit d56d5b1646

View File

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