lib/emberprecompile/compiler.rb in emberprecompile-0.1.2 vs lib/emberprecompile/compiler.rb in emberprecompile-0.1.3
- old
+ new
@@ -14,10 +14,10 @@
print "Compiling "+file
templateName = file.chomp(".handlebars")
templateName.slice!(source)
result = Barber::Ember::FilePrecompiler.call(File.read(file))
output.write('/* '+ templateName + ' Handlebar */')
- output.write('Ember.TEMPLATES["' + templateName + '"] = ' + result + '')
+ output.write('Ember.TEMPLATES["' + templateName + '"] = ' + result + "\n")
print "\n"
end
end
end
print "\n"
\ No newline at end of file