diff options
Diffstat (limited to 'node_modules/css-tree/cjs/syntax/atrule/import.cjs')
| -rw-r--r-- | node_modules/css-tree/cjs/syntax/atrule/import.cjs | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/node_modules/css-tree/cjs/syntax/atrule/import.cjs b/node_modules/css-tree/cjs/syntax/atrule/import.cjs deleted file mode 100644 index bb4402b4..00000000 --- a/node_modules/css-tree/cjs/syntax/atrule/import.cjs +++ /dev/null @@ -1,37 +0,0 @@ -'use strict'; - -const types = require('../../tokenizer/types.cjs'); - -const importAtrule = { - parse: { - prelude() { - const children = this.createList(); - - this.skipSC(); - - switch (this.tokenType) { - case types.String: - children.push(this.String()); - break; - - case types.Url: - case types.Function: - children.push(this.Url()); - break; - - default: - this.error('String or url() is expected'); - } - - if (this.lookupNonWSType(0) === types.Ident || - this.lookupNonWSType(0) === types.LeftParenthesis) { - children.push(this.MediaQueryList()); - } - - return children; - }, - block: null - } -}; - -module.exports = importAtrule; |
