kt.js 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -35,8 +35,8 @@ KT.js provides an IIFE build that can be included directly in HTML:
|
|
|
35
35
|
```html
|
|
36
36
|
<script src="https://unpkg.com/kt.js@0.3.0/dist/index.iife.js"></script>
|
|
37
37
|
<script>
|
|
38
|
-
//
|
|
39
|
-
const { h, div } =
|
|
38
|
+
// kt is available globally
|
|
39
|
+
const { h, div } = kt;
|
|
40
40
|
const app = div('container', 'Hello World');
|
|
41
41
|
document.body.appendChild(app);
|
|
42
42
|
</script>
|