source:
frontend/node_modules/csso/lib/clean/utils.js
| Last change on this file was 9af201e, checked in by , 13 days ago | |
|---|---|
|
|
| File size: 241 bytes | |
| Rev | Line | |
|---|---|---|
| [9af201e] | 1 | module.exports = { |
| 2 | hasNoChildren: function(node) { | |
| 3 | return !node || !node.children || node.children.isEmpty(); | |
| 4 | }, | |
| 5 | isNodeChildrenList: function(node, list) { | |
| 6 | return node !== null && node.children === list; | |
| 7 | } | |
| 8 | }; |
Note:
See TracBrowser
for help on using the repository browser.
