Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update assertion stripping regex

  • Loading branch information...
commit fcc88afe2b66cb35c64ed3669a31affcee217792 1 parent 955d0cc
@joliss joliss authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Assetfile
View
2  Assetfile
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.