Skip to content

Commit a04a1ee

Browse files
committed
Dépendance CDN manquante
1 parent c5e4eb7 commit a04a1ee

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

docs/notes-de-version.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,7 @@
106106
- DOCS - Update docs with the new specs
107107
- DOCS - Add dev tests (deactivated by default)
108108
- DOCS - Suppress one `then`
109+
110+
### 2.1.1
111+
112+
- FIX - Missing CDN dependency

mkdocs_sqlite_console/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
from .plugin import SQLiteConsole
22

3-
VERSION = "2.1.0"
3+
VERSION = "2.1.1"

mkdocs_sqlite_console/plugin.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,10 @@ def on_page_context(self, ctx, page: Page, config, **kwargs):
285285
)
286286
codemirror_css = "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.1/codemirror.css"
287287
codemirror_sql = "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.1/mode/sql/sql.min.js"
288+
tablesort_js = "https://unpkg.com/tablesort@5.3.0/dist/tablesort.min.js"
288289

289290
sql_scripts = f"""\
291+
<script src="{ tablesort_js }"></script>
290292
<script src="{ codemirror }"></script>
291293
<script src="{ base_url }/js/sqlite_ide.js"></script>
292294
<script src="{ codemirror_sql }"></script>

0 commit comments

Comments
 (0)