mirror of
https://github.com/thangisme/notes.git
synced 2024-11-01 03:17:30 -04:00
15 lines
244 B
JavaScript
15 lines
244 B
JavaScript
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
|
|
exports.default = function (selector) {
|
|
|
|
// SCSS or Less interpolation
|
|
if (/#{.+?}|@{.+?}|\$\(.+?\)/.test(selector)) {
|
|
return false;
|
|
}
|
|
|
|
return true;
|
|
}; |