Permalink
Browse files

Bug 699411 (cssnames): Fix makefile being overzealous

Previously anything containing the string -o would be mangled
Now we restrict it to -o-. Still not perfect, but better.
  • Loading branch information...
1 parent c89403f commit f154bee71e8d4f21c36e43d8efd4602b1338a93f @joewalker committed Nov 9, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 Makefile.dryice.js
View
@@ -346,8 +346,8 @@ function wordWrap(input, length) {
*/
function removeNonMozPrefixes(data) {
return data
- .replace(/\n?\s*[-a-z]*:\s*-(webkit|op|ms)[-a-z]*\s*;[ \t]*/g, '')
- .replace(/\n?\s*-(webkit|op|ms)[-a-z]*:\s*[^;]*\s*;[ \t]*/g, '');
+ .replace(/\n?\s*[-a-z]*:\s*-(webkit|op|ms)-[-a-z]*\s*;[ \t]*/g, '')
+ .replace(/\n?\s*-(webkit|op|ms)-[-a-z]*:\s*[^;]*\s*;[ \t]*/g, '');
}
/**

0 comments on commit f154bee

Please sign in to comment.