diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-09-21 10:46:35 -0500 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-09-23 14:33:24 -0700 |
commit | 29865c4de6fa61206c7a29599b8ed9f66f78662d (patch) | |
tree | c15c229c00938058e20f8df50bfa7def3057f9d6 /src/jsifier.js | |
parent | b636bdaf7390b880fc64f0602ba4dd782af50108 (diff) |
remove framework entirely
Diffstat (limited to 'src/jsifier.js')
-rw-r--r-- | src/jsifier.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jsifier.js b/src/jsifier.js index 39ede886..554c03d9 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -518,6 +518,7 @@ function JSify(data, functionsOnly, givenFunctions) { function functionSplitter(item) { item.labels.forEach(function(label) { label.lines.forEach(function(line) { + Framework.currItem = line; line.funcData = item; // TODO: remove all these, access it globally switch (line.intertype) { case 'value': line.JS = valueHandler(line); break; @@ -547,6 +548,7 @@ function JSify(data, functionsOnly, givenFunctions) { } assert(line.JS); if (line.assignTo) makeAssign(line); + Framework.currItem = null; }); }); functionReconstructor(item); |