diff options
author | kpdecker <kpdecker@gmail.com> | 2011-07-30 10:25:30 -0500 |
---|---|---|
committer | kpdecker <kpdecker@gmail.com> | 2011-07-30 10:25:30 -0500 |
commit | 2fc01ff73a1f53d634f03ac031112b58697e40a5 (patch) | |
tree | 8d9c7c483e4260effb027ec450dfdd9e5fa15809 | |
parent | bba08ad95f119cf585558bd761f8c266843e4cff (diff) | |
download | handlebars.js-2fc01ff73a1f53d634f03ac031112b58697e40a5.zip handlebars.js-2fc01ff73a1f53d634f03ac031112b58697e40a5.tar.gz handlebars.js-2fc01ff73a1f53d634f03ac031112b58697e40a5.tar.bz2 |
Move art into compiler dir
-rw-r--r-- | Rakefile | 4 | ||||
-rw-r--r-- | lib/handlebars.js | 2 | ||||
-rw-r--r-- | lib/handlebars/compiler/ast.js (renamed from lib/handlebars/ast.js) | 0 | ||||
-rw-r--r-- | spec/spec_helper.rb | 2 |
4 files changed, 4 insertions, 4 deletions
@@ -28,11 +28,11 @@ def remove_exports(string) match ? match[1] : string end -minimal_deps = %w(compiler/parser base ast visitor utils compiler/compiler vm).map do |file| +minimal_deps = %w(compiler/parser base compiler/ast visitor utils compiler/compiler vm).map do |file| "lib/handlebars/#{file}.js" end -debug_deps = %w(compiler/parser base ast visitor compiler/printer utils compiler/compiler vm debug).map do |file| +debug_deps = %w(compiler/parser base compiler/ast visitor compiler/printer utils compiler/compiler vm debug).map do |file| "lib/handlebars/#{file}.js" end diff --git a/lib/handlebars.js b/lib/handlebars.js index d8712a0..79d600c 100644 --- a/lib/handlebars.js +++ b/lib/handlebars.js @@ -3,7 +3,7 @@ module.exports = Handlebars; require("handlebars/utils"); -require("handlebars/ast"); +require("handlebars/compiler/ast"); require("handlebars/compiler/printer"); require("handlebars/visitor"); diff --git a/lib/handlebars/ast.js b/lib/handlebars/compiler/ast.js index 6c3711b..6c3711b 100644 --- a/lib/handlebars/ast.js +++ b/lib/handlebars/compiler/ast.js diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index cc3799d..59c32aa 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -74,7 +74,7 @@ module Handlebars Handlebars::Spec.js_load('lib/handlebars/compiler/parser.js') Handlebars::Spec.js_load('lib/handlebars/base.js'); - Handlebars::Spec.js_load('lib/handlebars/ast.js'); + Handlebars::Spec.js_load('lib/handlebars/compiler/ast.js'); Handlebars::Spec.js_load('lib/handlebars/visitor.js'); Handlebars::Spec.js_load('lib/handlebars/compiler/printer.js') Handlebars::Spec.js_load('lib/handlebars/utils.js') |