activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alex-party <party.a...@gmail.com>
Subject Re: Error in prototype.js
Date Fri, 20 Apr 2007 16:18:58 GMT

Error in prototype.js ? I've found a solution!
You may read my article : http://www.skybyte.net/articles/prototype.js/

And here is a PATCH!

Function.prototype.bind = function() {
  var __method = this, args = $A(arguments), object = args.shift();
  return function() {

 if(typeof($A) == 'function'){                 // <-- Added Firefox Fix
    return __method.apply(object, args.concat($A(arguments)));
}

  }
}


Regards,
Alex

-- 
View this message in context: http://www.nabble.com/Error-in-prototype.js-tf3486346s2354.html#a10105522
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message