PHP 7.4.33
Preview: import.cjs Size: 897 B
/var/www/cookieconsent.bitkit.dk/httpdocs/node_modules/css-tree/cjs/syntax/atrule/import.cjs
'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;

Directory Contents

Dirs: 0 × Files: 7
Name Size Perms Modified Actions
172 B lrw-r--r-- 2025-06-16 05:45:40
Edit Download
897 B lrw-r--r-- 2025-06-16 05:45:40
Edit Download
396 B lrw-r--r-- 2025-06-16 05:45:40
Edit Download
301 B lrw-r--r-- 2025-06-16 05:45:40
Edit Download
269 B lrw-r--r-- 2025-06-16 05:45:40
Edit Download
269 B lrw-r--r-- 2025-06-16 05:45:40
Edit Download
1.61 KB lrw-r--r-- 2025-06-16 05:45:40
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).