From 7082000e66ef2cce025be95853a7baf701883c57 Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Sat, 28 May 2011 18:58:38 -0400 Subject: [PATCH] Revert "switched to canonical two-space indentation in __bind helper" This reverts commit 6a40807330f4c742b3216a010e831f87794e7463. --- src/nodes.coffee | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/nodes.coffee b/src/nodes.coffee index 2a877799..2a694f08 100644 --- a/src/nodes.coffee +++ b/src/nodes.coffee @@ -1770,16 +1770,16 @@ UTILITIES = # Create a function bound to the current value of "this". bind: ''' (Function.prototype.bind ? Function.prototype.call.bind(Function.prototype.bind) : function(fn, me){ - return function bound(){ - if (!(this instanceof bound)) - return fn.apply(me, arguments); - var ctor = function(){}; - ctor.prototype = fn.prototype; - var obj = new ctor(); - fn.apply(obj, arguments); - return obj; - }; - }) + return function bound(){ + if (!(this instanceof bound)) + return fn.apply(me, arguments); + var ctor = function(){}; + ctor.prototype = fn.prototype; + var obj = new ctor(); + fn.apply(obj, arguments); + return obj; + }; + }) ''' # Discover if an item is in an array.