diff -r b0dd75e285d2 -r 0954f5dd2cd0 ginebra2/chrome/js/Bind.js --- a/ginebra2/chrome/js/Bind.js Fri May 14 15:40:36 2010 +0300 +++ b/ginebra2/chrome/js/Bind.js Tue Jun 29 00:46:29 2010 -0400 @@ -1,12 +1,14 @@ +// Bind a function’s scope at definition instead of execution. Useful +// for controlling the 'this' pointer in callbacks. Function.prototype.bind = function(obj) { var method = this, temp = function() { return method.apply(obj, arguments); }; - + return temp; -} +} function createDelegate(object, method) { var shim = function()