Skip to content

Commit b870564

Browse files
authored
fix: corrected that import
1 parent c049795 commit b870564

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/enhanced.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ <h2>10. Conditional Animation</h2>
452452

453453
<script type="module">
454454
// Load the polyfill
455-
import { init } from "../packages/css-if-polyfill/dist/index.modern.js";
455+
import { init, processCSSText } from "../packages/css-if-polyfill/dist/index.modern.js";
456456

457457
// Initialize polyfill with debug enabled
458458
const polyfill = init({ debug: true });
@@ -481,7 +481,7 @@ <h2>10. Conditional Animation</h2>
481481

482482
console.log("Test CSS processing:");
483483
console.log("Input:", testCSS);
484-
console.log("Output:", polyfill.processCSSText(testCSS));
484+
console.log("Output:", processCSSText(testCSS));
485485
</script>
486486
</body>
487487
</html>

0 commit comments

Comments
 (0)