Merge pull request #1235 from pygy/update-style-cssText
Remove an unused variable
This commit is contained in:
commit
4b9e88d896
1 changed files with 2 additions and 2 deletions
|
|
@ -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(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue