Permalink
Browse files

fix Ebisu rutime bug in IE

git-svn-id: http://code.handlino.com/svn/Ebisu/javascript@49 b19cb30a-9f2e-4084-8847-5e1a13269302
  • Loading branch information...
1 parent bf69b1d commit 64c2ac9b58bb1a9b13504478c89b9341c99b5eb9 @hlb hlb committed Nov 11, 2007
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/Ebisu.js
View
@@ -47,7 +47,9 @@
'trigger': function() {
var cbs = new Array();
- Array.prototype.push.apply(cbs, registry[ this.name ]);
+ if (registry[this.name] != null) {
+ Array.prototype.push.apply(cbs, registry[ this.name ]);
+ }
if (re_registry.length) {
var recbs = find_re(this.name);
for(var i=0; i< recbs.length; i++) {

0 comments on commit 64c2ac9

Please sign in to comment.