File tree Expand file tree Collapse file tree 1 file changed +21
-21
lines changed Expand file tree Collapse file tree 1 file changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -135,6 +135,27 @@ module.exports = function(css){
135
135
} ;
136
136
}
137
137
138
+ /**
139
+ * Parse declarations.
140
+ */
141
+
142
+ function declarations ( ) {
143
+ var decls = [ ] ;
144
+
145
+ if ( ! open ( ) ) return ;
146
+ comments ( ) ;
147
+
148
+ // declarations
149
+ var decl ;
150
+ while ( decl = declaration ( ) ) {
151
+ decls . push ( decl ) ;
152
+ comments ( ) ;
153
+ }
154
+
155
+ if ( ! close ( ) ) return ;
156
+ return decls ;
157
+ }
158
+
138
159
/**
139
160
* Parse keyframe.
140
161
*/
@@ -328,27 +349,6 @@ module.exports = function(css){
328
349
return ret ;
329
350
}
330
351
331
- /**
332
- * Parse declarations.
333
- */
334
-
335
- function declarations ( ) {
336
- var decls = [ ] ;
337
-
338
- if ( ! open ( ) ) return ;
339
- comments ( ) ;
340
-
341
- // declarations
342
- var decl ;
343
- while ( decl = declaration ( ) ) {
344
- decls . push ( decl ) ;
345
- comments ( ) ;
346
- }
347
-
348
- if ( ! close ( ) ) return ;
349
- return decls ;
350
- }
351
-
352
352
/**
353
353
* Parse at rule.
354
354
*/
You can’t perform that action at this time.
0 commit comments