aboutsummaryrefslogtreecommitdiffstats
path: root/lib/utils.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils.coffee')
-rw-r--r--lib/utils.coffee5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/utils.coffee b/lib/utils.coffee
index c83a6cf8..6a846ae0 100644
--- a/lib/utils.coffee
+++ b/lib/utils.coffee
@@ -103,11 +103,6 @@ Utils =
string = string.trim()
if (Utils.isUrl(string)) then Utils.createFullUrl(string) else Utils.createSearchUrl(string)
-# Execute a function with the given value for "this". Equivalent to jQuery.proxy(). */
-Function.prototype.proxy = (self) ->
- fn = this
- return -> fn.apply(self, arguments)
-
# This creates a new function out of an existing function, where the new function takes fewer arguments.
# This allows us to pass around functions instead of functions + a partial list of arguments.
Function.prototype.curry = ->