Skip to content

Commit

Permalink
Remove globals and html injection
Browse files Browse the repository at this point in the history
  • Loading branch information
nvictus authored and manzt committed Apr 23, 2024
1 parent 5288b2c commit 421e448
Showing 1 changed file with 1 addition and 38 deletions.
39 changes: 1 addition & 38 deletions demo.ipynb
Original file line number Diff line number Diff line change
@@ -1,42 +1,5 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"id": "bcca211d-f7a3-416d-911d-c4fa72c39836",
"metadata": {},
"outputs": [],
"source": [
"%load_ext autoreload\n",
"%autoreload 2"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "0b2b2bb3-f576-4080-a3f9-ff537fe2d62c",
"metadata": {},
"outputs": [],
"source": [
"%%js\n",
"window.global = {};"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "d056a52d-8e1c-4715-b963-1ebbcbabaf88",
"metadata": {},
"outputs": [],
"source": [
"%%html\n",
"<link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.2.0/css/all.css\">\n",
"<link rel=\"stylesheet\" media=\"screen and (max-width: 1024px)\" href=\"/styles/small-screen.css\">\n",
"<script src=\"https://distill.pub/template.v2.js\"></script>\n",
"\n",
"<script src=\"https://unpkg.com/numeric@1.2.6/numeric-1.2.6.js\"></script>"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -101,7 +64,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.1"
"version": "3.12.2"
},
"widgets": {
"application/vnd.jupyter.widget-state+json": {
Expand Down

0 comments on commit 421e448

Please sign in to comment.