Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions content/boolean_attribute_value.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "1051a8e7",
"id": "7c7af2e8",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "394eacaf",
"id": "6d0a86c8",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -23,7 +23,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "7b4d8476",
"id": "1c021fcc",
"metadata": {},
"outputs": [],
"source": [
Expand Down
10 changes: 5 additions & 5 deletions content/call_function.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "eb0e8234",
"id": "4348a0e3",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "f508f146",
"id": "4249496e",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -23,7 +23,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "368c5c9f",
"id": "bd322eea",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -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\"<div>Hello {make_bigly(name)}</div>\")\n",
" return result"
]
Expand Down
4 changes: 2 additions & 2 deletions content/child_nodes.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "19a08004",
"id": "aae25e85",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -14,7 +14,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "f8bf6dee",
"id": "e7f46ae7",
"metadata": {},
"outputs": [],
"source": [
Expand Down
8 changes: 4 additions & 4 deletions content/children_props.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "14ec6992",
"id": "5a1ea12f",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "faf088d2",
"id": "ef2d0d90",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -23,7 +23,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "89f33397",
"id": "9ce7c0c5",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -35,7 +35,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "7a01befa",
"id": "88b07548",
"metadata": {},
"outputs": [],
"source": [
Expand Down
27 changes: 0 additions & 27 deletions content/components.ipynb

This file was deleted.

12 changes: 6 additions & 6 deletions content/conditional_default.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "e46ec9e8",
"id": "5021c0e6",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "d4bc6a1f",
"id": "b8d77448",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -23,7 +23,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "25e7eb68",
"id": "b130acb5",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -35,7 +35,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "6820086a",
"id": "01c68bde",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -47,7 +47,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "cbc747a0",
"id": "16a8fba2",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -59,7 +59,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "9461dc1c",
"id": "0e8c89ee",
"metadata": {},
"outputs": [],
"source": [
Expand Down
27 changes: 0 additions & 27 deletions content/conditionals.ipynb

This file was deleted.

12 changes: 6 additions & 6 deletions content/dataclass_component.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "5d789b9f",
"id": "089c39e6",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "006e1b15",
"id": "96ffb6cf",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -23,7 +23,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "f408ac5e",
"id": "38318773",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -33,7 +33,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "a3f47214",
"id": "420c23ab",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -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\"<div><{greeting} /></div>\")\n",
" return result"
Expand Down
12 changes: 6 additions & 6 deletions content/default_component.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "40245ff4",
"id": "b4daf97a",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "08ef76bb",
"id": "41fbff64",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -23,7 +23,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "5721cc1a",
"id": "480b38b5",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -35,7 +35,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "09da7d75",
"id": "a1ac0684",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -47,7 +47,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "b9ee4d74",
"id": "cc90c2aa",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -59,7 +59,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "b4e72f71",
"id": "d3693d0b",
"metadata": {},
"outputs": [],
"source": [
Expand Down
10 changes: 5 additions & 5 deletions content/default_value.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "0ce34d6a",
"id": "28fcb12d",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "e957552f",
"id": "7a458e3a",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -23,19 +23,19 @@
{
"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\"<div>Hello {name}</div>\")"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "a6e85f92",
"id": "8cf8d313",
"metadata": {},
"outputs": [],
"source": [
Expand Down
2 changes: 1 addition & 1 deletion content/examples.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "d6bc86a0",
"id": "d9f65933",
"metadata": {},
"outputs": [],
"source": [
Expand Down
Loading