require('./common'); global.Handlebars = require('../../lib'); global.CompilerContext = { compile: function(template, options) { var templateSpec = handlebarsEnv.precompile(template, options); return handlebarsEnv.template(eval('(' + templateSpec + ')')); }, compileWithPartial: function(template, options) { return handlebarsEnv.compile(template, options); } };