lib/asset_compiler.rb in vitrine-0.0.26 vs lib/asset_compiler.rb in vitrine-0.0.27

- old
+ new

@@ -84,10 +84,10 @@ coffee_source = File.join(get_public, "#{basename}.coffee") mtime_cache coffee_source # Avoid CS recompilation if it isn't needed content_type 'text/javascript' source_body = File.read(coffee_source) - built = Vitrine.compile_coffeescript(source_body), + built = Vitrine.compile_coffeescript(source_body) response.headers['X-SourceMap'] = "#{basename}.js.map" response.headers['SourceMap'] = "#{basename}.js.map" built rescue Errno::ENOENT # Missing CoffeeScript forward_or_halt "No such JS file and could not find a .coffee replacement"