source: trip-planner-front/node_modules/stylehacks/dist/isMixin.js@ eed0bf8

Last change on this file since eed0bf8 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 377 bytes
RevLine 
[6a3a178]1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = isMixin;
7
8function isMixin(node) {
9 const {
10 selector
11 } = node; // If the selector ends with a ':' it is likely a part of a custom mixin.
12
13 if (!selector || selector[selector.length - 1] === ':') {
14 return true;
15 }
16
17 return false;
18}
19
20module.exports = exports.default;
Note: See TracBrowser for help on using the repository browser.