Changed imports to use jsdelivr
This commit is contained in:
parent
3f2734c7dd
commit
b1ed311059
2 changed files with 8 additions and 8 deletions
|
|
@ -3,9 +3,9 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
import {html, render} from 'https://unpkg.com/lit-html?module';
|
import {html, render} from 'https://cdn.jsdelivr.net/npm/lit-html/+esm';
|
||||||
import {asyncAppend} from 'https://unpkg.com/lit-html/directives/async-append?module';
|
import {asyncAppend} from 'https://cdn.jsdelivr.net/npm/lit-html/directives/async-append/+esm';
|
||||||
import * as esptoolPackage from "https://unpkg.com/esp-web-flasher@5.1.2/dist/web/index.js?module"
|
import * as esptoolPackage from "https://cdn.jsdelivr.net/npm/esp-web-flasher@5.1.2/dist/web/index.js/+esm"
|
||||||
|
|
||||||
export const ESP_ROM_BAUD = 115200;
|
export const ESP_ROM_BAUD = 115200;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,12 +3,12 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
import { html } from 'https://unpkg.com/lit-html?module';
|
import { html } from 'https://cdn.jsdelivr.net/npm/lit-html/+esm';
|
||||||
import { map } from 'https://unpkg.com/lit-html/directives/map?module';
|
import { map } from 'https://cdn.jsdelivr.net/npm/lit-html/directives/map/+esm';
|
||||||
import * as toml from "https://unpkg.com/iarna-toml-esm@3.0.5/toml-esm.mjs"
|
import * as toml from "https://cdn.jsdelivr.net/npm/iarna-toml-esm@3.0.5/+esm"
|
||||||
import * as zip from "https://cdn.jsdelivr.net/npm/@zip.js/zip.js@2.6.65/+esm";
|
import * as zip from "https://cdn.jsdelivr.net/npm/@zip.js/zip.js@2.6.65/+esm";
|
||||||
import * as esptoolPackage from "https://unpkg.com/esp-web-flasher@5.1.2/dist/web/index.js?module"
|
import * as esptoolPackage from "https://cdn.jsdelivr.net/npm/esp-web-flasher@5.1.2/dist/web/index.js/+esm"
|
||||||
import { REPL } from 'https://cdn.jsdelivr.net/gh/adafruit/circuitpython-repl-js@1.2.1/repl.js';
|
import { REPL } from 'https://cdn.jsdelivr.net/gh/adafruit/circuitpython-repl-js/repl.js';
|
||||||
import { InstallButton, ESP_ROM_BAUD } from "./base_installer.js";
|
import { InstallButton, ESP_ROM_BAUD } from "./base_installer.js";
|
||||||
|
|
||||||
// TODO: Combine multiple steps together. For now it was easier to make them separate,
|
// TODO: Combine multiple steps together. For now it was easier to make them separate,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue