mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
cleaned up the mess ... :)
This commit is contained in:
parent
ec1bceb1b6
commit
dd154aa576
6 changed files with 34 additions and 23 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue