mirror of
https://github.com/konvajs/konva.git
synced 2026-01-22 03:11:53 +08:00
Fix grammar for missing container error message
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