diff --git a/content/boolean_attribute_value.ipynb b/content/boolean_attribute_value.ipynb
index 035b0de..b13486b 100644
--- a/content/boolean_attribute_value.ipynb
+++ b/content/boolean_attribute_value.ipynb
@@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "1051a8e7",
+ "id": "7c7af2e8",
"metadata": {},
"outputs": [],
"source": [
@@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "394eacaf",
+ "id": "6d0a86c8",
"metadata": {},
"outputs": [],
"source": [
@@ -23,7 +23,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "7b4d8476",
+ "id": "1c021fcc",
"metadata": {},
"outputs": [],
"source": [
diff --git a/content/call_function.ipynb b/content/call_function.ipynb
index 72fe328..f2f82d9 100644
--- a/content/call_function.ipynb
+++ b/content/call_function.ipynb
@@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "eb0e8234",
+ "id": "4348a0e3",
"metadata": {},
"outputs": [],
"source": [
@@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "f508f146",
+ "id": "4249496e",
"metadata": {},
"outputs": [],
"source": [
@@ -23,7 +23,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "368c5c9f",
+ "id": "bd322eea",
"metadata": {},
"outputs": [],
"source": [
@@ -35,13 +35,13 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "2d56b175",
+ "id": "aa3495d3",
"metadata": {},
"outputs": [],
"source": [
"def main():\n",
" \"\"\"Main entry point.\"\"\"\n",
- " name = \"viewdom\"\n",
+ " name = \"tdom\"\n",
" result = html(t\"
Hello {make_bigly(name)}
\")\n",
" return result"
]
diff --git a/content/child_nodes.ipynb b/content/child_nodes.ipynb
index 310c75e..0bbc87c 100644
--- a/content/child_nodes.ipynb
+++ b/content/child_nodes.ipynb
@@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "19a08004",
+ "id": "aae25e85",
"metadata": {},
"outputs": [],
"source": [
@@ -14,7 +14,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "f8bf6dee",
+ "id": "e7f46ae7",
"metadata": {},
"outputs": [],
"source": [
diff --git a/content/children_props.ipynb b/content/children_props.ipynb
index 30bc973..bbc0f5b 100644
--- a/content/children_props.ipynb
+++ b/content/children_props.ipynb
@@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "14ec6992",
+ "id": "5a1ea12f",
"metadata": {},
"outputs": [],
"source": [
@@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "faf088d2",
+ "id": "ef2d0d90",
"metadata": {},
"outputs": [],
"source": [
@@ -23,7 +23,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "89f33397",
+ "id": "9ce7c0c5",
"metadata": {},
"outputs": [],
"source": [
@@ -35,7 +35,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "7a01befa",
+ "id": "88b07548",
"metadata": {},
"outputs": [],
"source": [
diff --git a/content/components.ipynb b/content/components.ipynb
deleted file mode 100644
index c40976d..0000000
--- a/content/components.ipynb
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "cells": [
- {
- "cell_type": "code",
- "execution_count": null,
- "id": "9304aabd",
- "metadata": {},
- "outputs": [],
- "source": [
- "\"\"\"Examples that show components.\"\"\""
- ]
- }
- ],
- "metadata": {
- "jupytext": {
- "cell_metadata_filter": "-all",
- "main_language": "python",
- "notebook_metadata_filter": "-all",
- "text_representation": {
- "extension": ".py",
- "format_name": "light"
- }
- }
- },
- "nbformat": 4,
- "nbformat_minor": 5
-}
diff --git a/content/conditional_default.ipynb b/content/conditional_default.ipynb
index 4b2e950..e865911 100644
--- a/content/conditional_default.ipynb
+++ b/content/conditional_default.ipynb
@@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "e46ec9e8",
+ "id": "5021c0e6",
"metadata": {},
"outputs": [],
"source": [
@@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "d4bc6a1f",
+ "id": "b8d77448",
"metadata": {},
"outputs": [],
"source": [
@@ -23,7 +23,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "25e7eb68",
+ "id": "b130acb5",
"metadata": {},
"outputs": [],
"source": [
@@ -35,7 +35,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "6820086a",
+ "id": "01c68bde",
"metadata": {},
"outputs": [],
"source": [
@@ -47,7 +47,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "cbc747a0",
+ "id": "16a8fba2",
"metadata": {},
"outputs": [],
"source": [
@@ -59,7 +59,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "9461dc1c",
+ "id": "0e8c89ee",
"metadata": {},
"outputs": [],
"source": [
diff --git a/content/conditionals.ipynb b/content/conditionals.ipynb
deleted file mode 100644
index 3b0ae95..0000000
--- a/content/conditionals.ipynb
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "cells": [
- {
- "cell_type": "code",
- "execution_count": null,
- "id": "5a3719e8",
- "metadata": {},
- "outputs": [],
- "source": [
- "\"\"\"Examples that show conditionals.\"\"\""
- ]
- }
- ],
- "metadata": {
- "jupytext": {
- "cell_metadata_filter": "-all",
- "main_language": "python",
- "notebook_metadata_filter": "-all",
- "text_representation": {
- "extension": ".py",
- "format_name": "light"
- }
- }
- },
- "nbformat": 4,
- "nbformat_minor": 5
-}
diff --git a/content/dataclass_component.ipynb b/content/dataclass_component.ipynb
index 0c45b6f..480d400 100644
--- a/content/dataclass_component.ipynb
+++ b/content/dataclass_component.ipynb
@@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "5d789b9f",
+ "id": "089c39e6",
"metadata": {},
"outputs": [],
"source": [
@@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "006e1b15",
+ "id": "96ffb6cf",
"metadata": {},
"outputs": [],
"source": [
@@ -23,7 +23,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "f408ac5e",
+ "id": "38318773",
"metadata": {},
"outputs": [],
"source": [
@@ -33,7 +33,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "a3f47214",
+ "id": "420c23ab",
"metadata": {},
"outputs": [],
"source": [
@@ -51,13 +51,13 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "fbb09b3b",
+ "id": "7b95e914",
"metadata": {},
"outputs": [],
"source": [
"def main():\n",
" \"\"\"Render a template to a string.\"\"\"\n",
- " greeting = Greeting(name=\"viewdom\")\n",
+ " greeting = Greeting(name=\"tdom\")\n",
" # TODO Teach the constructor to make dataclass components\n",
" result = html(t\"<{greeting} />
\")\n",
" return result"
diff --git a/content/default_component.ipynb b/content/default_component.ipynb
index 7b8817a..f203240 100644
--- a/content/default_component.ipynb
+++ b/content/default_component.ipynb
@@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "40245ff4",
+ "id": "b4daf97a",
"metadata": {},
"outputs": [],
"source": [
@@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "08ef76bb",
+ "id": "41fbff64",
"metadata": {},
"outputs": [],
"source": [
@@ -23,7 +23,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "5721cc1a",
+ "id": "480b38b5",
"metadata": {},
"outputs": [],
"source": [
@@ -35,7 +35,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "09da7d75",
+ "id": "a1ac0684",
"metadata": {},
"outputs": [],
"source": [
@@ -47,7 +47,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "b9ee4d74",
+ "id": "cc90c2aa",
"metadata": {},
"outputs": [],
"source": [
@@ -59,7 +59,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "b4e72f71",
+ "id": "d3693d0b",
"metadata": {},
"outputs": [],
"source": [
diff --git a/content/default_value.ipynb b/content/default_value.ipynb
index 868fab3..c93af98 100644
--- a/content/default_value.ipynb
+++ b/content/default_value.ipynb
@@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "0ce34d6a",
+ "id": "28fcb12d",
"metadata": {},
"outputs": [],
"source": [
@@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "e957552f",
+ "id": "7a458e3a",
"metadata": {},
"outputs": [],
"source": [
@@ -23,11 +23,11 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "13db272c",
+ "id": "9f640181",
"metadata": {},
"outputs": [],
"source": [
- "def Hello(name=\"viewdom\"):\n",
+ "def Hello(name=\"World\"):\n",
" \"\"\"A simple hello component.\"\"\"\n",
" return html(t\"Hello {name}
\")"
]
@@ -35,7 +35,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "a6e85f92",
+ "id": "8cf8d313",
"metadata": {},
"outputs": [],
"source": [
diff --git a/content/examples.ipynb b/content/examples.ipynb
index f5c8758..4a61d8e 100644
--- a/content/examples.ipynb
+++ b/content/examples.ipynb
@@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "d6bc86a0",
+ "id": "d9f65933",
"metadata": {},
"outputs": [],
"source": [
diff --git a/content/expression_props.ipynb b/content/expression_props.ipynb
index fff0fe7..335f5ea 100644
--- a/content/expression_props.ipynb
+++ b/content/expression_props.ipynb
@@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "36c5de32",
+ "id": "e5d27064",
"metadata": {},
"outputs": [],
"source": [
@@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "fce808eb",
+ "id": "3882f168",
"metadata": {},
"outputs": [],
"source": [
@@ -23,7 +23,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "26fb57ad",
+ "id": "08e0252a",
"metadata": {},
"outputs": [],
"source": [
@@ -35,7 +35,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "d013d6cd",
+ "id": "f78f6d98",
"metadata": {},
"outputs": [],
"source": [
diff --git a/content/expressions.ipynb b/content/expressions.ipynb
deleted file mode 100644
index 0444e86..0000000
--- a/content/expressions.ipynb
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "cells": [
- {
- "cell_type": "code",
- "execution_count": null,
- "id": "17d48718",
- "metadata": {},
- "outputs": [],
- "source": [
- "\"\"\"Examples that show expressions.\"\"\""
- ]
- }
- ],
- "metadata": {
- "jupytext": {
- "cell_metadata_filter": "-all",
- "main_language": "python",
- "notebook_metadata_filter": "-all",
- "text_representation": {
- "extension": ".py",
- "format_name": "light"
- }
- }
- },
- "nbformat": 4,
- "nbformat_minor": 5
-}
diff --git a/content/expressions_as_values.ipynb b/content/expressions_as_values.ipynb
index 9f608fd..12a658d 100644
--- a/content/expressions_as_values.ipynb
+++ b/content/expressions_as_values.ipynb
@@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "98168ea8",
+ "id": "5c88affd",
"metadata": {},
"outputs": [],
"source": [
@@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "d6d26503",
+ "id": "16e9ad37",
"metadata": {},
"outputs": [],
"source": [
@@ -23,7 +23,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "beffcfaa",
+ "id": "de6c945c",
"metadata": {},
"outputs": [],
"source": [
diff --git a/content/generators.ipynb b/content/generators.ipynb
index c189f7e..a2385ef 100644
--- a/content/generators.ipynb
+++ b/content/generators.ipynb
@@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "c412941c",
+ "id": "1701c669",
"metadata": {},
"outputs": [],
"source": [
@@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "dc5f81b6",
+ "id": "62e67279",
"metadata": {},
"outputs": [],
"source": [
@@ -23,7 +23,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "d06fc96f",
+ "id": "69422e4c",
"metadata": {},
"outputs": [],
"source": [
@@ -37,7 +37,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "6d9066fe",
+ "id": "a4df16f8",
"metadata": {},
"outputs": [],
"source": [
diff --git a/content/insert_value.ipynb b/content/insert_value.ipynb
index 241a7c8..2e7a65b 100644
--- a/content/insert_value.ipynb
+++ b/content/insert_value.ipynb
@@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "24fc4a95",
+ "id": "a2c65dbd",
"metadata": {},
"outputs": [],
"source": [
@@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "4d1598f5",
+ "id": "5b544da5",
"metadata": {},
"outputs": [],
"source": [
@@ -23,13 +23,13 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "b430f926",
+ "id": "c30e3327",
"metadata": {},
"outputs": [],
"source": [
"def main():\n",
" \"\"\"Main entry point.\"\"\"\n",
- " name = \"viewdom\"\n",
+ " name = \"tdom\"\n",
" result = html(t\"Hello {name}
\")\n",
" return result"
]
diff --git a/content/looping.ipynb b/content/looping.ipynb
deleted file mode 100644
index c1905a7..0000000
--- a/content/looping.ipynb
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "cells": [
- {
- "cell_type": "code",
- "execution_count": null,
- "id": "9278e4bc",
- "metadata": {},
- "outputs": [],
- "source": [
- "\"\"\"Examples that show looping.\"\"\""
- ]
- }
- ],
- "metadata": {
- "jupytext": {
- "cell_metadata_filter": "-all",
- "main_language": "python",
- "notebook_metadata_filter": "-all",
- "text_representation": {
- "extension": ".py",
- "format_name": "light"
- }
- }
- },
- "nbformat": 4,
- "nbformat_minor": 5
-}
diff --git a/content/optional_props.ipynb b/content/optional_props.ipynb
index 861860f..744a7d7 100644
--- a/content/optional_props.ipynb
+++ b/content/optional_props.ipynb
@@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "16ed5c68",
+ "id": "862928f8",
"metadata": {},
"outputs": [],
"source": [
@@ -14,7 +14,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "7d7142da",
+ "id": "c8942991",
"metadata": {},
"outputs": [],
"source": [
@@ -27,7 +27,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "9620b07e",
+ "id": "1e90e434",
"metadata": {},
"outputs": [],
"source": [
diff --git a/content/pass_component.ipynb b/content/pass_component.ipynb
index ff81923..00312dd 100644
--- a/content/pass_component.ipynb
+++ b/content/pass_component.ipynb
@@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "19a08f10",
+ "id": "e2f0e184",
"metadata": {},
"outputs": [],
"source": [
@@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "84663f39",
+ "id": "6f1e411a",
"metadata": {},
"outputs": [],
"source": [
@@ -23,7 +23,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "4dc2597e",
+ "id": "20a51300",
"metadata": {},
"outputs": [],
"source": [
@@ -35,7 +35,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "8454d153",
+ "id": "35a87f4a",
"metadata": {},
"outputs": [],
"source": [
@@ -47,7 +47,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "b240bb6a",
+ "id": "170649cd",
"metadata": {},
"outputs": [],
"source": [
diff --git a/content/passed_in_prop.ipynb b/content/passed_in_prop.ipynb
index ac21f87..86469ca 100644
--- a/content/passed_in_prop.ipynb
+++ b/content/passed_in_prop.ipynb
@@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "2386de8a",
+ "id": "9ba5f36c",
"metadata": {},
"outputs": [],
"source": [
@@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "cd0ba65c",
+ "id": "31a4e81b",
"metadata": {},
"outputs": [],
"source": [
@@ -23,7 +23,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "b8f7f71b",
+ "id": "12d7cfa5",
"metadata": {},
"outputs": [],
"source": [
@@ -35,13 +35,13 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "4adc65a3",
+ "id": "58a5970c",
"metadata": {},
"outputs": [],
"source": [
"def main():\n",
" \"\"\"Main entry point.\"\"\"\n",
- " result = Hello(name=\"viewdom\")\n",
+ " result = Hello(name=\"tdom\")\n",
" return result"
]
}
diff --git a/content/python_operation.ipynb b/content/python_operation.ipynb
index eed7a58..b22823a 100644
--- a/content/python_operation.ipynb
+++ b/content/python_operation.ipynb
@@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "504d765d",
+ "id": "6bfda412",
"metadata": {},
"outputs": [],
"source": [
@@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "59ae84ee",
+ "id": "7968e53e",
"metadata": {},
"outputs": [],
"source": [
@@ -23,13 +23,13 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "b553743c",
+ "id": "144dfae9",
"metadata": {},
"outputs": [],
"source": [
"def main():\n",
" \"\"\"Main entry point.\"\"\"\n",
- " name = \"viewdom\"\n",
+ " name = \"tdom\"\n",
" result = html(t\"Hello {name.upper()}
\")\n",
" return result"
]
diff --git a/content/rendered_looping.ipynb b/content/rendered_looping.ipynb
index 1e7f8ff..534b7cf 100644
--- a/content/rendered_looping.ipynb
+++ b/content/rendered_looping.ipynb
@@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "1efc22c8",
+ "id": "3161d3aa",
"metadata": {},
"outputs": [],
"source": [
@@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "e6c4e0af",
+ "id": "5e1ac54a",
"metadata": {},
"outputs": [],
"source": [
@@ -23,7 +23,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "0d30c686",
+ "id": "0958d0e7",
"metadata": {},
"outputs": [],
"source": [
diff --git a/content/scope_values.ipynb b/content/scope_values.ipynb
index ffbd262..99b42e3 100644
--- a/content/scope_values.ipynb
+++ b/content/scope_values.ipynb
@@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "c924489b",
+ "id": "eddf9acf",
"metadata": {},
"outputs": [],
"source": [
@@ -14,7 +14,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "54934916",
+ "id": "236490f1",
"metadata": {},
"outputs": [],
"source": [
@@ -27,7 +27,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "129baaba",
+ "id": "d6181822",
"metadata": {},
"outputs": [],
"source": [
@@ -37,7 +37,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "aac4590d",
+ "id": "618b27a1",
"metadata": {},
"outputs": [],
"source": [
diff --git a/content/shorthand_syntax.ipynb b/content/shorthand_syntax.ipynb
index f533018..1d88850 100644
--- a/content/shorthand_syntax.ipynb
+++ b/content/shorthand_syntax.ipynb
@@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "34d87ac2",
+ "id": "4e15f4d7",
"metadata": {},
"outputs": [],
"source": [
@@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "619ed7ea",
+ "id": "114e37ee",
"metadata": {},
"outputs": [],
"source": [
@@ -23,7 +23,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "d647c045",
+ "id": "181e4556",
"metadata": {},
"outputs": [],
"source": [
diff --git a/content/show_vdom.ipynb b/content/show_vdom.ipynb
index 54b41c9..d0a8350 100644
--- a/content/show_vdom.ipynb
+++ b/content/show_vdom.ipynb
@@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "282e0d4a",
+ "id": "b1305a33",
"metadata": {},
"outputs": [],
"source": [
@@ -14,7 +14,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "b9e19a64",
+ "id": "f2f0e5e3",
"metadata": {},
"outputs": [],
"source": [
diff --git a/content/simple_arithmetic.ipynb b/content/simple_arithmetic.ipynb
index 2ab6f69..38f1496 100644
--- a/content/simple_arithmetic.ipynb
+++ b/content/simple_arithmetic.ipynb
@@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "8f9bf6c4",
+ "id": "cd5b5ed2",
"metadata": {},
"outputs": [],
"source": [
@@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "3117094e",
+ "id": "0f6ae07e",
"metadata": {},
"outputs": [],
"source": [
@@ -23,13 +23,13 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "b417f202",
+ "id": "a1a80512",
"metadata": {},
"outputs": [],
"source": [
"def main():\n",
" \"\"\"Main entry point.\"\"\"\n",
- " name = \"viewdom\"\n",
+ " name = \"tdom\"\n",
" result = html(t\"Hello {1 + 3}
\")\n",
" return result"
]
diff --git a/content/simple_heading.ipynb b/content/simple_heading.ipynb
index f95e1fc..a00cb94 100644
--- a/content/simple_heading.ipynb
+++ b/content/simple_heading.ipynb
@@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "2f218d83",
+ "id": "227570ad",
"metadata": {},
"outputs": [],
"source": [
@@ -14,7 +14,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "99171452",
+ "id": "6239ce91",
"metadata": {},
"outputs": [],
"source": [
@@ -26,7 +26,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "e3a03c0f",
+ "id": "da9b15df",
"metadata": {},
"outputs": [],
"source": [
diff --git a/content/simple_looping.ipynb b/content/simple_looping.ipynb
index ebe0eee..bb7dc73 100644
--- a/content/simple_looping.ipynb
+++ b/content/simple_looping.ipynb
@@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "d91e494e",
+ "id": "811891be",
"metadata": {},
"outputs": [],
"source": [
@@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "4bf1afc8",
+ "id": "6367aa26",
"metadata": {},
"outputs": [],
"source": [
@@ -23,7 +23,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "38382b95",
+ "id": "6b2a1723",
"metadata": {},
"outputs": [],
"source": [
diff --git a/content/simple_props.ipynb b/content/simple_props.ipynb
index 5ba761e..199b5b5 100644
--- a/content/simple_props.ipynb
+++ b/content/simple_props.ipynb
@@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "6b028153",
+ "id": "0e4ede6a",
"metadata": {},
"outputs": [],
"source": [
@@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "9cfaa426",
+ "id": "b1c5d0a2",
"metadata": {},
"outputs": [],
"source": [
@@ -23,7 +23,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "4d292a1d",
+ "id": "123b0348",
"metadata": {},
"outputs": [],
"source": [
@@ -35,7 +35,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "b9b429db",
+ "id": "de02faba",
"metadata": {},
"outputs": [],
"source": [
diff --git a/content/simple_render.ipynb b/content/simple_render.ipynb
index 492be4e..f5adc6e 100644
--- a/content/simple_render.ipynb
+++ b/content/simple_render.ipynb
@@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "867ffd5e",
+ "id": "792c548f",
"metadata": {},
"outputs": [],
"source": [
@@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "3a329fff",
+ "id": "81083e5b",
"metadata": {},
"outputs": [],
"source": [
@@ -23,7 +23,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "ef7e252e",
+ "id": "e043afe6",
"metadata": {},
"outputs": [],
"source": [
diff --git a/content/static_string.ipynb b/content/static_string.ipynb
deleted file mode 100644
index d968247..0000000
--- a/content/static_string.ipynb
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "cells": [
- {
- "cell_type": "code",
- "execution_count": null,
- "id": "e7487082",
- "metadata": {},
- "outputs": [],
- "source": [
- "\"\"\"Examples that show static strings.\"\"\""
- ]
- }
- ],
- "metadata": {
- "jupytext": {
- "cell_metadata_filter": "-all",
- "main_language": "python",
- "notebook_metadata_filter": "-all",
- "text_representation": {
- "extension": ".py",
- "format_name": "light"
- }
- }
- },
- "nbformat": 4,
- "nbformat_minor": 5
-}
diff --git a/content/string_literal.ipynb b/content/string_literal.ipynb
index 441333e..1c02704 100644
--- a/content/string_literal.ipynb
+++ b/content/string_literal.ipynb
@@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "b238a389",
+ "id": "93d1b0b9",
"metadata": {},
"outputs": [],
"source": [
@@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "8d5ed45c",
+ "id": "439378b9",
"metadata": {},
"outputs": [],
"source": [
@@ -23,7 +23,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "b9af20db",
+ "id": "c421057b",
"metadata": {},
"outputs": [],
"source": [
diff --git a/content/subcomponents.ipynb b/content/subcomponents.ipynb
index e573909..a159bd8 100644
--- a/content/subcomponents.ipynb
+++ b/content/subcomponents.ipynb
@@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "12f5d479",
+ "id": "6074b8d9",
"metadata": {},
"outputs": [],
"source": [
@@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "d8f394b3",
+ "id": "30d6c541",
"metadata": {},
"outputs": [],
"source": [
@@ -23,7 +23,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "48eaf1d9",
+ "id": "32b4c193",
"metadata": {},
"outputs": [],
"source": [
@@ -33,7 +33,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "7d5e5314",
+ "id": "4622b875",
"metadata": {},
"outputs": [],
"source": [
@@ -45,7 +45,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "c4802adc",
+ "id": "83ee69e9",
"metadata": {},
"outputs": [],
"source": [
@@ -58,7 +58,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "a0b392ec",
+ "id": "ec6185bf",
"metadata": {},
"outputs": [],
"source": [
diff --git a/content/syntax.ipynb b/content/syntax.ipynb
index 9b36e97..60df2ed 100644
--- a/content/syntax.ipynb
+++ b/content/syntax.ipynb
@@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "aa2959cb",
+ "id": "519e2e4e",
"metadata": {},
"outputs": [],
"source": [
@@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "8dc432db",
+ "id": "4bc9ea47",
"metadata": {},
"outputs": [],
"source": [
@@ -23,7 +23,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "70ac2c45",
+ "id": "abb868d2",
"metadata": {},
"outputs": [],
"source": [
diff --git a/content/value_from_import.ipynb b/content/value_from_import.ipynb
index f9ed635..2fc6dee 100644
--- a/content/value_from_import.ipynb
+++ b/content/value_from_import.ipynb
@@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "935fe7a1",
+ "id": "57c6ff0b",
"metadata": {},
"outputs": [],
"source": [
@@ -13,18 +13,27 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "042cc025",
+ "id": "e0bb168d",
"metadata": {},
"outputs": [],
"source": [
- "from .. import name # noqa F401\n",
"from tdom import html"
]
},
{
"cell_type": "code",
"execution_count": null,
- "id": "5013f62a",
+ "id": "16a29974",
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "name = \"World\""
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "id": "c0b34f06",
"metadata": {},
"outputs": [],
"source": [
@@ -36,7 +45,7 @@
{
"cell_type": "code",
"execution_count": null,
- "id": "a7674c44",
+ "id": "ab1c1138",
"metadata": {},
"outputs": [],
"source": [
diff --git a/content/variables.ipynb b/content/variables.ipynb
deleted file mode 100644
index 3e08a84..0000000
--- a/content/variables.ipynb
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "cells": [
- {
- "cell_type": "code",
- "execution_count": null,
- "id": "c647fe48",
- "metadata": {},
- "outputs": [],
- "source": [
- "\"\"\"Examples that show variables.\"\"\""
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "id": "f24f5def",
- "metadata": {},
- "outputs": [],
- "source": [
- "name = \"viewdom\""
- ]
- }
- ],
- "metadata": {
- "jupytext": {
- "cell_metadata_filter": "-all",
- "main_language": "python",
- "notebook_metadata_filter": "-all",
- "text_representation": {
- "extension": ".py",
- "format_name": "light"
- }
- }
- },
- "nbformat": 4,
- "nbformat_minor": 5
-}