Merge pull request #1235 from pygy/update-style-cssText

Remove an unused variable
This commit is contained in:
Leo Horie 2016-08-11 15:53:48 -04:00 committed by GitHub
commit 4b9e88d896

View file

@ -79,14 +79,14 @@ module.exports = function() {
/** /**
* This will split a semicolon-separated CSS declaration list into an array of * This will split a semicolon-separated CSS declaration list into an array of
* individual declarations, ignoring semicolons in strings. * individual declarations, ignoring semicolons in strings.
* *
* Comments are also stripped. * Comments are also stripped.
* *
* @param {string} declList * @param {string} declList
* @return {string[]} * @return {string[]}
*/ */
function splitDeclList(declList) { function splitDeclList(declList) {
var indices = [], res = [], inParen = 0, match var indices = [], res = [], match
// remove comments, preserving comments in strings. // remove comments, preserving comments in strings.
declList = declList.replace( declList = declList.replace(