summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Rakefile4
-rw-r--r--lib/handlebars.js2
-rw-r--r--lib/handlebars/compiler/printer.js2
-rw-r--r--lib/handlebars/compiler/visitor.js (renamed from lib/handlebars/visitor.js)0
-rw-r--r--spec/spec_helper.rb2
5 files changed, 5 insertions, 5 deletions
diff --git a/Rakefile b/Rakefile
index 405e7cb..31a5e95 100644
--- a/Rakefile
+++ b/Rakefile
@@ -28,11 +28,11 @@ def remove_exports(string)
match ? match[1] : string
end
-minimal_deps = %w(compiler/parser base compiler/ast visitor utils compiler/compiler vm).map do |file|
+minimal_deps = %w(compiler/parser base compiler/ast utils compiler/compiler vm).map do |file|
"lib/handlebars/#{file}.js"
end
-debug_deps = %w(compiler/parser base compiler/ast visitor compiler/printer utils compiler/compiler vm debug).map do |file|
+debug_deps = %w(compiler/parser base compiler/ast compiler/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 79d600c..aab2d55 100644
--- a/lib/handlebars.js
+++ b/lib/handlebars.js
@@ -5,7 +5,7 @@ require("handlebars/utils");
require("handlebars/compiler/ast");
require("handlebars/compiler/printer");
-require("handlebars/visitor");
+require("handlebars/compiler/visitor");
require("handlebars/compiler/compiler");
require("handlebars/vm");
diff --git a/lib/handlebars/compiler/printer.js b/lib/handlebars/compiler/printer.js
index 7be3f98..1866830 100644
--- a/lib/handlebars/compiler/printer.js
+++ b/lib/handlebars/compiler/printer.js
@@ -1,5 +1,5 @@
var Handlebars = require("handlebars");
-require("handlebars/visitor");
+require("./visitor");
// BEGIN(BROWSER)
Handlebars.PrintVisitor = function() { this.padding = 0; };
diff --git a/lib/handlebars/visitor.js b/lib/handlebars/compiler/visitor.js
index a713bcc..a713bcc 100644
--- a/lib/handlebars/visitor.js
+++ b/lib/handlebars/compiler/visitor.js
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 59c32aa..41f06ae 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -75,7 +75,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/compiler/ast.js');
- Handlebars::Spec.js_load('lib/handlebars/visitor.js');
+ Handlebars::Spec.js_load('lib/handlebars/compiler/visitor.js');
Handlebars::Spec.js_load('lib/handlebars/compiler/printer.js')
Handlebars::Spec.js_load('lib/handlebars/utils.js')
Handlebars::Spec.js_load('lib/handlebars/compiler/compiler.js')