Permalink
Browse files

rename macroCompiler#macroTransform => #transform

  • Loading branch information...
1 parent d52a4a2 commit 1e72a8fc180ec9e8a07255382f22c698874a263d @smtlaissezfaire committed Feb 25, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/loop/compiler.js
  2. +1 −1 lib/loop/macro-compiler.js
View
@@ -8,7 +8,7 @@ compiler.compile = function(str, options) {
options = {};
}
- var macroTransformedAst = loop.macroCompiler.macroTransform(loop.parse(str));
+ var macroTransformedAst = loop.macroCompiler.transform(loop.parse(str));
var ast = loop.loopEval(macroTransformedAst);
var uglifyAst = loop.toUglifyTree(ast, options);
@@ -13,7 +13,7 @@ compiler.reset = function() {
macros = {};
};
-compiler.macroTransform = function(ast) {
+compiler.transform = function(ast) {
// extract out macro definitions,
_.each(ast, function(tree) {
if (tree.type === 'list') {

0 comments on commit 1e72a8f

Please sign in to comment.