1234567891011121314151617181920212223242526272829 |
- 'use strict';
- module.exports = function (atRule) {
-
- if (!atRule.nodes && atRule.params === '') {
- return false;
- }
-
- if ('mixin' in atRule && atRule.mixin) {
- return false;
- }
-
- if (
- ('variable' in atRule && atRule.variable) ||
- (!atRule.nodes && atRule.raws.afterName === '' && atRule.params[0] === '(')
- ) {
- return false;
- }
- return true;
- };
|