Начат фронтенд
This commit is contained in:
18
node_modules/postcss/lib/list.js
generated
vendored
18
node_modules/postcss/lib/list.js
generated
vendored
@@ -1,15 +1,6 @@
|
||||
'use strict'
|
||||
|
||||
let list = {
|
||||
comma(string) {
|
||||
return list.split(string, [','], true)
|
||||
},
|
||||
|
||||
space(string) {
|
||||
let spaces = [' ', '\n', '\t']
|
||||
return list.split(string, spaces)
|
||||
},
|
||||
|
||||
split(string, separators, last) {
|
||||
let array = []
|
||||
let current = ''
|
||||
@@ -51,6 +42,15 @@ let list = {
|
||||
|
||||
if (last || current !== '') array.push(current.trim())
|
||||
return array
|
||||
},
|
||||
|
||||
space(string) {
|
||||
let spaces = [' ', '\n', '\t']
|
||||
return list.split(string, spaces)
|
||||
},
|
||||
|
||||
comma(string) {
|
||||
return list.split(string, [','], true)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user