lib/hogan_assets/tilt.rb in hogan_assets-1.0.0 vs lib/hogan_assets/tilt.rb in hogan_assets-1.0.1

- old
+ new

@@ -9,10 +9,10 @@ code = data.inspect template_name = scope.logical_path.inspect <<-TEMPLATE (function() { this.HoganTemplates || (this.HoganTemplates = {}); - this.HoganTemplates[#{template_name}] = new HoganTemplate(#{code}); + this.HoganTemplates[#{template_name}] = new Hogan.Template(#{code}); this.HoganTemplates[#{template_name}].r = #{compiled_template}; return HoganTemplates[#{template_name}]; }).call(this); TEMPLATE end