flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
17
BACK_BACK/node_modules/stylehacks/dist/isMixin.js
generated
vendored
Executable file
17
BACK_BACK/node_modules/stylehacks/dist/isMixin.js
generated
vendored
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = isMixin;
|
||||
function isMixin(node) {
|
||||
const { selector } = node;
|
||||
|
||||
// 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'];
|
||||
Loading…
Add table
Add a link
Reference in a new issue