From 4f1397ef3ceaead952bc80fc23918e503a7915ac Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Thu, 8 Sep 2011 18:01:31 -0700 Subject: [PATCH] make _.js work in strict mode --- vendor/underscore.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vendor/underscore.js b/vendor/underscore.js index 4f5601325..7f7bd5b50 100644 --- a/vendor/underscore.js +++ b/vendor/underscore.js @@ -836,4 +836,5 @@ return this._wrapped; }; -})(); +// fix for 'use strict' - need an explicit `this` +}).call(this || window);