content.js 530 B

1234567891011121314151617181920
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.content = void 0;
  4. exports.content = {
  5. name: 'content',
  6. initialValue: 'none',
  7. type: 1 /* LIST */,
  8. prefix: false,
  9. parse: function (_context, tokens) {
  10. if (tokens.length === 0) {
  11. return [];
  12. }
  13. var first = tokens[0];
  14. if (first.type === 20 /* IDENT_TOKEN */ && first.value === 'none') {
  15. return [];
  16. }
  17. return tokens;
  18. }
  19. };
  20. //# sourceMappingURL=content.js.map