1
0
mirror of https://github.com/thangisme/notes.git synced 2024-06-16 12:45:30 +00:00
notes/node_modules/stylehacks/dist/isMixin.js
Patrick Marsceill b7b0d0d7bf
Initial commit
2017-03-09 13:16:08 -05:00

14 lines
352 B
JavaScript

'use strict';
exports.__esModule = true;
exports.default = isMixin;
function isMixin(node) {
var selector = node.selector;
// If the selector ends with a ':' it is likely a part of a custom mixin.
if (!selector || selector[selector.length - 1] === ':') {
return true;
}
return false;
}
module.exports = exports['default'];