Rename Platform.js to Platform.ts

This commit is contained in:
RMidhunSuresh 2021-11-17 18:18:14 +05:30
parent cf76e9c605
commit fe6090183f
3 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ limitations under the License.
import aesjs from "../../../lib/aes-js/index.js";
import {hkdf} from "../../utils/crypto/hkdf.js";
import {Platform as ModernPlatform} from "./Platform.js";
import {Platform as ModernPlatform} from "./Platform";
export function Platform(container, paths) {
return new ModernPlatform(container, paths, {aesjs, hkdf});

View file

@ -22,7 +22,7 @@
</script>
<script id="main" type="module">
import {main} from "./src/main.js";
import {Platform} from "./src/platform/web/Platform.js";
import {Platform} from "./src/platform/web/Platform";
main(new Platform(document.body, {
worker: "src/worker.js",
downloadSandbox: "assets/download-sandbox.html",