wallet-core/node_modules/clean-css/lib/options/inline.js

12 lines
197 B
JavaScript
Raw Normal View History

2017-05-03 15:35:00 +02:00
function inlineOptionsFrom(rules) {
if (Array.isArray(rules)) {
return rules;
}
return undefined === rules ?
['local'] :
rules.split(',');
}
module.exports = inlineOptionsFrom;