Skip to content

Commit d44d891

Browse files
committed
fix: corrected that import
1 parent cc27031 commit d44d891

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

examples/multiple-conditions.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,10 @@ <h2>7. Accessibility-Aware Animations</h2>
376376
</div>
377377

378378
<script type="module">
379-
import { init } from "../packages/css-if-polyfill/dist/index.modern.js";
379+
import {
380+
init,
381+
processCSSText
382+
} from "../packages/css-if-polyfill/dist/index.modern.js";
380383

381384
// Initialize the polyfill
382385
init(); // Control functions
@@ -417,7 +420,7 @@ <h2>7. Accessibility-Aware Animations</h2>
417420

418421
console.log("Test CSS processing:");
419422
console.log("Input:", testCSS);
420-
console.log("Output:", polyfill.processCSSText(testCSS));
423+
console.log("Output:", processCSSText(testCSS));
421424

422425
console.log("Multiple conditions CSS if() polyfill loaded!");
423426
</script>

0 commit comments

Comments
 (0)