Skip to content

Commit

Permalink
upgrade to [email protected], [email protected], few htmx_exts to latest ve…
Browse files Browse the repository at this point in the history
…rsion
  • Loading branch information
pratapvardhan committed Dec 14, 2024
1 parent f1cc346 commit 5947396
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
18 changes: 9 additions & 9 deletions fasthtml/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,20 +434,20 @@ async def _wrap_call(f, req, params):

# %% ../nbs/api/00_core.ipynb
htmx_exts = {
"head-support": "https://unpkg.com/[email protected].1/head-support.js",
"preload": "https://unpkg.com/htmx-ext-preload@2.0.1/preload.js",
"class-tools": "https://unpkg.com/[email protected]/class-tools.js",
"loading-states": "https://unpkg.com/[email protected]/loading-states.js",
"multi-swap": "https://unpkg.com/[email protected]/multi-swap.js",
"path-deps": "https://unpkg.com/[email protected]/path-deps.js",
"head-support": "https://unpkg.com/[email protected].3/head-support.js",
"preload": "https://unpkg.com/htmx-ext-preload@2.1.0/preload.js",
"class-tools": "https://unpkg.com/[email protected]/class-tools.js",
"loading-states": "https://unpkg.com/[email protected]/loading-states.js",
"multi-swap": "https://unpkg.com/[email protected]/multi-swap.js",
"path-deps": "https://unpkg.com/[email protected]/path-deps.js",
"remove-me": "https://unpkg.com/[email protected]/remove-me.js",
"ws": "https://unpkg.com/[email protected].1/ws.js",
"ws": "https://unpkg.com/[email protected].2/ws.js",
"chunked-transfer": "https://unpkg.com/[email protected]/transfer-encoding-chunked.js"
}

# %% ../nbs/api/00_core.ipynb
htmxsrc = Script(src="https://unpkg.com/[email protected].3/dist/htmx.min.js")
fhjsscr = Script(src="https://cdn.jsdelivr.net/gh/answerdotai/[email protected].4/fasthtml.js")
htmxsrc = Script(src="https://unpkg.com/[email protected].4/dist/htmx.min.js")
fhjsscr = Script(src="https://cdn.jsdelivr.net/gh/answerdotai/[email protected].12/fasthtml.js")
surrsrc = Script(src="https://cdn.jsdelivr.net/gh/answerdotai/surreal@main/surreal.js")
scopesrc = Script(src="https://cdn.jsdelivr.net/gh/gnat/css-scope-inline@main/script.js")
viewport = Meta(name="viewport", content="width=device-width, initial-scale=1, viewport-fit=cover")
Expand Down
18 changes: 9 additions & 9 deletions nbs/api/00_core.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1175,14 +1175,14 @@
"source": [
"#| export\n",
"htmx_exts = {\n",
" \"head-support\": \"https://unpkg.com/[email protected].1/head-support.js\", \n",
" \"preload\": \"https://unpkg.com/htmx-ext-preload@2.0.1/preload.js\", \n",
" \"class-tools\": \"https://unpkg.com/[email protected]/class-tools.js\", \n",
" \"loading-states\": \"https://unpkg.com/[email protected]/loading-states.js\", \n",
" \"multi-swap\": \"https://unpkg.com/[email protected]/multi-swap.js\", \n",
" \"path-deps\": \"https://unpkg.com/[email protected]/path-deps.js\", \n",
" \"head-support\": \"https://unpkg.com/[email protected].3/head-support.js\",\n",
" \"preload\": \"https://unpkg.com/htmx-ext-preload@2.1.0/preload.js\",\n",
" \"class-tools\": \"https://unpkg.com/[email protected]/class-tools.js\",\n",
" \"loading-states\": \"https://unpkg.com/[email protected]/loading-states.js\",\n",
" \"multi-swap\": \"https://unpkg.com/[email protected]/multi-swap.js\",\n",
" \"path-deps\": \"https://unpkg.com/[email protected]/path-deps.js\",\n",
" \"remove-me\": \"https://unpkg.com/[email protected]/remove-me.js\",\n",
" \"ws\": \"https://unpkg.com/[email protected].1/ws.js\",\n",
" \"ws\": \"https://unpkg.com/[email protected].2/ws.js\",\n",
" \"chunked-transfer\": \"https://unpkg.com/[email protected]/transfer-encoding-chunked.js\"\n",
"}"
]
Expand All @@ -1195,8 +1195,8 @@
"outputs": [],
"source": [
"#| export\n",
"htmxsrc = Script(src=\"https://unpkg.com/[email protected].3/dist/htmx.min.js\")\n",
"fhjsscr = Script(src=\"https://cdn.jsdelivr.net/gh/answerdotai/[email protected].4/fasthtml.js\")\n",
"htmxsrc = Script(src=\"https://unpkg.com/[email protected].4/dist/htmx.min.js\")\n",
"fhjsscr = Script(src=\"https://cdn.jsdelivr.net/gh/answerdotai/[email protected].12/fasthtml.js\")\n",
"surrsrc = Script(src=\"https://cdn.jsdelivr.net/gh/answerdotai/surreal@main/surreal.js\")\n",
"scopesrc = Script(src=\"https://cdn.jsdelivr.net/gh/gnat/css-scope-inline@main/script.js\")\n",
"viewport = Meta(name=\"viewport\", content=\"width=device-width, initial-scale=1, viewport-fit=cover\")\n",
Expand Down

0 comments on commit 5947396

Please sign in to comment.