cleaned up the mess ... :)

This commit is contained in:
logsol 2012-08-29 16:11:43 +02:00
parent ec1bceb1b6
commit dd154aa576
6 changed files with 34 additions and 23 deletions

View file

@ -11,7 +11,7 @@ function () {
NotificationCenter.prototype.trigger = function (topic /*, arguments*/) {
if (!this.topics[topic]) {
throw "No such topic " + topic + ". Could not trigger.";
throw "No such topic " + topic + ". Could not trigger. arguments: " + arguments.join;
}
var args = Array.prototype.slice.call(arguments, 1);