warning when provider is not set

This commit is contained in:
Marek Kotewicz
2014-10-22 16:21:38 +02:00
parent f7c9c8928e
commit f9ca054314
2 changed files with 1 additions and 1 deletions

View File

@@ -391,6 +391,7 @@
if(this.provider !== undefined) {
this.provider.send(data);
} else {
console.warn("provider is not set");
this.queued.push(data);
}
};