aboutsummaryrefslogtreecommitdiff
path: root/lib/utils.js
diff options
context:
space:
mode:
authorMihai Bazon <mihai@bazon.net>2012-10-11 13:00:58 +0300
committerMihai Bazon <mihai@bazon.net>2012-10-11 15:17:42 +0300
commitfb5c01c073d06034815d5f3b782fd11cbdf6d6f5 (patch)
treeb566891f8852c7305b9e571aa6607164a7d78b75 /lib/utils.js
parentf4584af42c8baa0a8f221adf1ff9a85765163e4b (diff)
downloadtracifyjs-fb5c01c073d06034815d5f3b782fd11cbdf6d6f5.tar.gz
tracifyjs-fb5c01c073d06034815d5f3b782fd11cbdf6d6f5.zip
stealing more hacks from acorn in the name of speed
Diffstat (limited to 'lib/utils.js')
-rw-r--r--lib/utils.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/utils.js b/lib/utils.js
index d18e62ee..79039665 100644
--- a/lib/utils.js
+++ b/lib/utils.js
@@ -43,19 +43,6 @@
"use strict";
-function curry(f) {
- var args = slice(arguments, 1);
- return function() { return f.apply(this, args.concat(slice(arguments))); };
-};
-
-function prog1(ret) {
- if (ret instanceof Function)
- ret = ret();
- for (var i = 1, n = arguments.length; --n > 0; ++i)
- arguments[i]();
- return ret;
-};
-
function array_to_hash(a) {
var ret = Object.create(null);
for (var i = 0; i < a.length; ++i)