browser-prefix/suffix templates

This commit is contained in:
kpdecker
2013-02-16 13:07:39 -06:00
parent e2481cd66e
commit 1f76b065fc
4 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -45,11 +45,11 @@ def remove_exports(string)
match ? match[1] : string
end
minimal_deps = %w(base compiler/parser compiler/base compiler/ast utils compiler/compiler runtime).map do |file|
minimal_deps = %w(browser-prefix base compiler/parser compiler/base compiler/ast utils compiler/compiler runtime browser-suffix).map do |file|
"lib/handlebars/#{file}.js"
end
runtime_deps = %w(base utils runtime).map do |file|
runtime_deps = %w(browser-prefix base utils runtime browser-suffix).map do |file|
"lib/handlebars/#{file}.js"
end
+1 -5
View File
@@ -2,11 +2,9 @@
module.exports.create = function() {
// BEGIN(BROWSER)
var Handlebars = {};
(function(Handlebars) {
// BEGIN(BROWSER)
Handlebars.VERSION = "1.0.0-rc.3";
Handlebars.COMPILER_REVISION = 2;
@@ -147,8 +145,6 @@ Handlebars.registerHelper('log', function(context, options) {
Handlebars.log(level, context);
});
}(Handlebars));
// END(BROWSER)
return Handlebars;
+3
View File
@@ -0,0 +1,3 @@
var Handlebars = {};
(function(Handlebars, undefined) {
+1
View File
@@ -0,0 +1 @@
})(Handlebars);