File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 40
40
display : inline-block;
41
41
font-size : 12px ;
42
42
}
43
-
44
43
small {
45
44
46
45
margin : 0 10px ;
@@ -65,6 +64,7 @@ <h1>Parse CSS and Convert to PHP Array</h1>
65
64
< small > < a target ="_blank " href ="http://www.flaticon.com/ "> FlatIcon</ a > </ small >
66
65
67
66
< small > < a target ="_blank " href ="https://raw.githubusercontent.com/WordPress/dashicons/master/css/dashicons.css "> DashIcons</ a > </ small >
67
+
68
68
</ p >
69
69
70
70
< label >
@@ -82,7 +82,6 @@ <h1>Parse CSS and Convert to PHP Array</h1>
82
82
< textarea v-model ="css " cols ="30 " placeholder ="Paste CSS Contents " rows ="10 "> </ textarea >
83
83
< textarea v-show ="php " readonly v-model ="php " cols ="30 " rows ="10 "> </ textarea >
84
84
85
-
86
85
</ div >
87
86
88
87
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ new Vue({
23
23
generatePHP : function ( prefix , css , before ) {
24
24
25
25
var match ,
26
+
26
27
phpcode = [ ] ,
27
28
$comments = / \/ \* (?: (? ! \* \/ ) [ \s \S ] ) * \* \/ / g,
28
29
$pattern = `.(${ prefix } ([^:|^"]+)):before` ,
You can’t perform that action at this time.
0 commit comments