Permalink
Browse files

Update assertion stripping regex

  • Loading branch information...
1 parent 955d0cc commit fcc88afe2b66cb35c64ed3669a31affcee217792 @joliss committed May 6, 2012
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

0 comments on commit fcc88af

Please sign in to comment.