Skip to content

Commit

Permalink
Update the FB's reSplitCSS regexp.
Browse files Browse the repository at this point in the history
  • Loading branch information
thedarkone committed Sep 30, 2012
1 parent 7e7f203 commit 14694d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chrome/content/firepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ var colorNames = {
};


// taken from Firebug | cssPanel.js
var reSplitCSS = /(url\("?[^"\)]+?"?\))|(rgba?\(.*?\))|(hsla?\(.*?\))|(#[\dA-Fa-f]+)|(-?\d+(\.\d+)?(%|[a-z]{1,4})?)|([^,\s\/!\(\)]+)|"(.*?)"|(!(.*)?)/;
// taken from Firebug | cssPanel.js (version 1.10.3)
var reSplitCSS = /(url\("?[^"\)]+"?\)?)|(rgba?\([^)]*\)?)|(hsla?\([^)]*\)?)|(#[\dA-Fa-f]+)|(-?\d+(\.\d+)?(%|[a-z]{1,4})?)|"([^"]*)"?|'([^']*)'?|([^,\s\/!\(\)]+)|(!(.*)?)/;

function parseCSSValue(value, offset) {
var start = 0;
Expand Down

0 comments on commit 14694d4

Please sign in to comment.