You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by alex-party <pa...@gmail.com> on 2007/04/20 18:18:58 UTC

Re: Error in prototype.js

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.