source:
imaps-frontend/node_modules/clean-css/lib/options/inline.js
Last change on this file was 79a0317, checked in by , 4 days ago | |
---|---|
|
|
File size: 248 bytes |
Line | |
---|---|
1 | function inlineOptionsFrom(rules) { |
2 | if (Array.isArray(rules)) { |
3 | return rules; |
4 | } |
5 | |
6 | if (rules === false) { |
7 | return ['none']; |
8 | } |
9 | |
10 | return undefined === rules |
11 | ? ['local'] |
12 | : rules.split(','); |
13 | } |
14 | |
15 | module.exports = inlineOptionsFrom; |
Note:
See TracBrowser
for help on using the repository browser.