@leveluptuts/bookit
Advanced tools
+4
-4
@@ -1,7 +0,7 @@ | ||
| <script>var _a, _b; | ||
| <script>var _a; | ||
| import BookIcon from './BookIcon.svelte'; | ||
| import SideBarHeading from './elements/SideBarHeading.svelte'; | ||
| import { bookit_state } from './state'; | ||
| $: selected_title = (_a = $bookit_state === null || $bookit_state === void 0 ? void 0 : $bookit_state.selected_frame) === null || _a === void 0 ? void 0 : _a.title; | ||
| $: selected_raw = (_b = $bookit_state === null || $bookit_state === void 0 ? void 0 : $bookit_state.loaded) === null || _b === void 0 ? void 0 : _b.raw; | ||
| $: selected_title = $bookit_state === null || $bookit_state === void 0 ? void 0 : $bookit_state.selected_frame; | ||
| $: selected_raw = (_a = $bookit_state === null || $bookit_state === void 0 ? void 0 : $bookit_state.loaded) === null || _a === void 0 ? void 0 : _a.raw; | ||
| let code = {}; | ||
@@ -16,3 +16,3 @@ let last_index = 0; | ||
| let end_index = selected_raw.indexOf('</Frame>', start_index); | ||
| code[current_title] = selected_raw.substring(start_index_bracket + 1, end_index); | ||
| code[encodeURI(current_title)] = selected_raw.substring(start_index_bracket + 1, end_index); | ||
| last_index = selected_raw.indexOf('<Frame', end_index); | ||
@@ -19,0 +19,0 @@ } |
+1
-1
@@ -35,3 +35,3 @@ { | ||
| "type": "module", | ||
| "version": "0.0.24", | ||
| "version": "0.0.25", | ||
| "exports": { | ||
@@ -38,0 +38,0 @@ "./package.json": "./package.json", |
53237
-0.09%