Remove an unused variable

This commit is contained in:
Pierre-Yves Gerardy 2016-08-11 21:21:17 +02:00
parent bffe87e053
commit 55a5d0a69f

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(