From 32058c52060ee5c56835d228d6846c1f12eb25ad Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Wed, 15 Dec 2010 12:35:36 +0100 Subject: [PATCH] fix syntax error --- plugins/pilot/fixoldbrowsers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/pilot/fixoldbrowsers.js b/plugins/pilot/fixoldbrowsers.js index 5e230ba5..b3026a71 100644 --- a/plugins/pilot/fixoldbrowsers.js +++ b/plugins/pilot/fixoldbrowsers.js @@ -113,7 +113,7 @@ if (!Function.prototype.bind) { // optimize common case if (arguments.length == 1) { - var bound = return function() { + var bound = function() { return fcn.apply(this instanceof nop ? this : obj, arguments); }; }