aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-09-21 13:11:16 -0500
committerAlon Zakai <alonzakai@gmail.com>2013-09-23 14:33:24 -0700
commit07135d153c5ff990a14e7458f100ad98fe9ef03a (patch)
tree9fd92e12d352504885594de368957ca613bd16ca
parentc145771d6160492422ca41eb646fbcfe8c236039 (diff)
remove duplicate code
-rw-r--r--src/jsifier.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/jsifier.js b/src/jsifier.js
index 53b9bb08..a8c8d32d 100644
--- a/src/jsifier.js
+++ b/src/jsifier.js
@@ -60,15 +60,6 @@ function JSify(data, functionsOnly, givenFunctions) {
}
}
- // Does simple 'macro' substitution, using Django-like syntax,
- // {{{ code }}} will be replaced with |eval(code)|.
- function processMacros(text) {
- return text.replace(/{{{[^}]+}}}/g, function(str) {
- str = str.substr(3, str.length-6);
- return eval(str).toString();
- });
- }
-
if (mainPass) {
// Handle unparsed types TODO: Batch them
analyzer(intertyper(data.unparsedTypess[0].lines, true), true);