Further progress towards modularization.
At this point, I have only 2 fails in the Node build, but I'm doing a bunch of manual stuff locally and still have a bunch of hacks.
This commit is contained in:
Vendored
+2
-1
@@ -1,10 +1,11 @@
|
||||
require('./common');
|
||||
|
||||
global.Handlebars = require('../../lib/handlebars');
|
||||
global.Handlebars = require('../../zomg/lib/handlebars');
|
||||
|
||||
global.CompilerContext = {
|
||||
compile: function(template, options) {
|
||||
var templateSpec = Handlebars.precompile(template, options);
|
||||
console.log(templateSpec);
|
||||
return Handlebars.template(eval('(' + templateSpec + ')'));
|
||||
},
|
||||
compileWithPartial: function(template, options) {
|
||||
|
||||
Reference in New Issue
Block a user