luci-app-bmx: Redesign Makefile. Split JS libraries. Clean package
[feed/routing.git] / luci-app-bmx6 / files / www / luci-static / resources / bmx6 / js / Curry-1.0.1.js
diff --git a/luci-app-bmx6/files/www/luci-static/resources/bmx6/js/Curry-1.0.1.js b/luci-app-bmx6/files/www/luci-static/resources/bmx6/js/Curry-1.0.1.js
deleted file mode 100644 (file)
index f5aa0f9..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-/**\r
- * Curry - Function currying\r
- * Copyright (c) 2008 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com\r
- * Licensed under BSD (http://www.opensource.org/licenses/bsd-license.php)\r
- * Date: 10/4/2008\r
- *\r
- * @author Ariel Flesler\r
- * @version 1.0.1\r
- */\r
-\r
-function curry( fn ){\r
-       return function(){\r
-               var args = curry.args(arguments),\r
-                       master = arguments.callee,\r
-                       self = this;\r
-\r
-               return args.length >= fn.length ? fn.apply(self,args) : function(){\r
-                       return master.apply( self, args.concat(curry.args(arguments)) );\r
-               };\r
-       };\r
-};\r
-\r
-curry.args = function( args ){\r
-       return Array.prototype.slice.call(args);\r
-};\r
-\r
-Function.prototype.curry = function(){\r
-       return curry(this);\r
-};
\ No newline at end of file