mirror of
https://github.com/thangisme/notes.git
synced 2024-11-16 10:26:08 -05:00
14 lines
352 B
JavaScript
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']; |