Break compiler and vm logic into separate files.

This commit is contained in:
kpdecker
2011-07-30 10:11:13 -05:00
parent 471f3b9748
commit f2dccb753f
4 changed files with 55 additions and 49 deletions
+2 -1
View File
@@ -78,7 +78,8 @@ module Handlebars
Handlebars::Spec.js_load('lib/handlebars/visitor.js');
Handlebars::Spec.js_load('lib/handlebars/printer.js')
Handlebars::Spec.js_load('lib/handlebars/utils.js')
Handlebars::Spec.js_load('lib/handlebars/compiler.js')
Handlebars::Spec.js_load('lib/handlebars/compiler/compiler.js')
Handlebars::Spec.js_load('lib/handlebars/vm.js')
Handlebars::Spec.js_load('lib/handlebars.js')
context["Handlebars"]["logger"]["level"] = ENV["DEBUG_JS"] ? context["Handlebars"]["logger"][ENV["DEBUG_JS"]] : 4