Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Undefined is not a reserved keyword

  • Loading branch information...
commit a07a9b3db9f9d64dcc92bb5b08ec447c6aa124dd 1 parent 6b15fc6
Björn Söderqvist authored December 05, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/observer.js
2  lib/observer.js
@@ -26,7 +26,7 @@ EventBroker.prototype.publish = function(subject){
26 26
   var subscribers = this.get(subject),
27 27
       args = Array.prototype.slice.call(arguments,1);
28 28
 
29  
-  args.splice(0,0, undefined);
  29
+  args.splice(0,0, null);
30 30
 
31 31
   for(var i = -1, len=subscribers.length; ++i < len; ){
32 32
     setTimeout(Function.prototype.bind.apply(subscribers[i], args), 0);   

0 notes on commit a07a9b3

Please sign in to comment.
Something went wrong with that request. Please try again.