It's console.warn, not console.warning

This commit is contained in:
Tony Garnock-Jones 2014-05-27 13:15:32 -04:00
parent 424a00c675
commit 95701d39c5
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ World.prototype.dispatchEvent = function (e) {
if (e.knownTarget !== null) pids.unshift(e.knownTarget);
for (var i = 0; i < pids.length; i++) {
var pid = pids[i];
if (pid === "out") console.warning("Would have delivered a routing update to environment");
if (pid === "out") console.warn("Would have delivered a routing update to environment");
var p = this.processTable[pid];
if (p) {
var g = e.aggregate.filter(p.gestalt);