Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit f154bee71e8d4f21c36e43d8efd4602b1338a93f 1 parent c89403f
@joewalker authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Makefile.dryice.js
View
4 Makefile.dryice.js
@@ -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, '');
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.