1
0
mirror of https://github.com/thangisme/notes.git synced 2024-11-01 00:37:33 -04: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'];