Skip to content

Commit

Permalink
Update assertion stripping regex
Browse files Browse the repository at this point in the history
  • Loading branch information
joliss committed May 6, 2012
1 parent 955d0cc commit fcc88af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assetfile
Expand Up @@ -6,7 +6,7 @@ class EmberProductionFilter < Rake::Pipeline::Filter
def generate_output(inputs, output)
inputs.each do |input|
result = File.read(input.fullpath)
result.gsub!(%r{^(\s)+ember_(assert|deprecate|warn)\((.*)\).*$}, "")
result.gsub!(%r{^(\s)*Ember\.(assert|deprecate|warn)\((.*)\).*$}, "")
output.write result
end
end
Expand Down

0 comments on commit fcc88af

Please sign in to comment.