aboutsummaryrefslogtreecommitdiffstats
path: root/vanilla/node_modules/@acemir/cssom/lib/CSSCounterStyleRule.js
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-14 14:46:37 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-14 14:46:37 -0800
commitafa87af01c79a9baa539f2992d32154d2a4739bd (patch)
tree92c7416db734270a2fee1d72ee9cc119379ff8e1 /vanilla/node_modules/@acemir/cssom/lib/CSSCounterStyleRule.js
parent3b927e84d200402281f68181cd4253bc77e5528d (diff)
downloadneko-afa87af01c79a9baa539f2992d32154d2a4739bd.tar.gz
neko-afa87af01c79a9baa539f2992d32154d2a4739bd.tar.bz2
neko-afa87af01c79a9baa539f2992d32154d2a4739bd.zip
task: delete vanilla js prototype\n\n- Removed vanilla/ directory and web/dist/vanilla directory\n- Updated Makefile, Dockerfile, and CI workflow to remove vanilla references\n- Cleaned up web/web.go to remove vanilla embed and routes\n- Verified build and tests pass\n\nCloses NK-2tcnmq
Diffstat (limited to 'vanilla/node_modules/@acemir/cssom/lib/CSSCounterStyleRule.js')
-rw-r--r--vanilla/node_modules/@acemir/cssom/lib/CSSCounterStyleRule.js57
1 files changed, 0 insertions, 57 deletions
diff --git a/vanilla/node_modules/@acemir/cssom/lib/CSSCounterStyleRule.js b/vanilla/node_modules/@acemir/cssom/lib/CSSCounterStyleRule.js
deleted file mode 100644
index 44c4330..0000000
--- a/vanilla/node_modules/@acemir/cssom/lib/CSSCounterStyleRule.js
+++ /dev/null
@@ -1,57 +0,0 @@
-//.CommonJS
-var CSSOM = {
- CSSRule: require("./CSSRule").CSSRule
-};
-///CommonJS
-
-
-/**
- * @constructor
- * @see https://drafts.csswg.org/css-counter-styles/#the-csscounterstylerule-interface
- */
-CSSOM.CSSCounterStyleRule = function CSSCounterStyleRule() {
- CSSOM.CSSRule.call(this);
- this.name = "";
- this.__props = "";
-};
-
-CSSOM.CSSCounterStyleRule.prototype = Object.create(CSSOM.CSSRule.prototype);
-CSSOM.CSSCounterStyleRule.prototype.constructor = CSSOM.CSSCounterStyleRule;
-
-Object.setPrototypeOf(CSSOM.CSSCounterStyleRule, CSSOM.CSSRule);
-
-Object.defineProperty(CSSOM.CSSCounterStyleRule.prototype, "type", {
- value: 11,
- writable: false
-});
-
-Object.defineProperty(CSSOM.CSSCounterStyleRule.prototype, "cssText", {
- get: function() {
- // FIXME : Implement real cssText generation based on properties
- return "@counter-style " + this.name + " { " + this.__props + " }";
- }
-});
-
-/**
- * NON-STANDARD
- * Rule text parser.
- * @param {string} cssText
- */
-Object.defineProperty(CSSOM.CSSCounterStyleRule.prototype, "parse", {
- value: function(cssText) {
- // Extract the name from "@counter-style <name> { ... }"
- var match = cssText.match(/@counter-style\s+([^\s{]+)\s*\{([^]*)\}/);
- if (match) {
- this.name = match[1];
- // Get the text inside the brackets and clean it up
- var propsText = match[2];
- this.__props = propsText.trim().replace(/\n/g, " ").replace(/(['"])(?:\\.|[^\\])*?\1|(\s{2,})/g, function (match, quote) {
- return quote ? match : ' ';
- });
- }
- }
-});
-
-//.CommonJS
-exports.CSSCounterStyleRule = CSSOM.CSSCounterStyleRule;
-///CommonJS