Switch to FUI nightly
This commit is contained in:
parent
0ea1ad469d
commit
ec5b6c905c
6595 changed files with 171884 additions and 136424 deletions
27
node_modules/rtlcss/lib/directive-parser.js
generated
vendored
27
node_modules/rtlcss/lib/directive-parser.js
generated
vendored
|
@ -1,18 +1,20 @@
|
|||
module.exports = function (comment) {
|
||||
var pos = 0
|
||||
var value = comment.text
|
||||
var match = value.match(/^\s*!?\s*rtl:/)
|
||||
var meta
|
||||
'use strict'
|
||||
|
||||
module.exports = (comment) => {
|
||||
let pos = 0
|
||||
let value = comment.text
|
||||
const match = value.match(/^\s*!?\s*rtl:/)
|
||||
let meta
|
||||
|
||||
if (match) {
|
||||
meta = {
|
||||
'source': comment,
|
||||
'name': '',
|
||||
'param': '',
|
||||
'begin': true,
|
||||
'end': true,
|
||||
'blacklist': false,
|
||||
'preserve': false
|
||||
source: comment,
|
||||
name: '',
|
||||
param: '',
|
||||
begin: true,
|
||||
end: true,
|
||||
blacklist: false,
|
||||
preserve: false
|
||||
}
|
||||
value = value.slice(match[0].length)
|
||||
pos = value.indexOf(':')
|
||||
|
@ -39,5 +41,6 @@ module.exports = function (comment) {
|
|||
meta.name = value
|
||||
}
|
||||
}
|
||||
|
||||
return meta
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue