Skip to content

Commit

Permalink
♻️ Remove localforage script include and use ES6 import
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywon committed Mar 20, 2019
1 parent d8dcca3 commit bcde54e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
<welcome-screen v-show="showWelcomeScreen"></welcome-screen>
</div>

<script
type="text/javascript"
src="{{ ZAP_HUD_FILES }}?name=libraries/localforage.min.js"
></script>
<script
type="text/javascript"
src="{{ ZAP_HUD_FILES }}?name=utils.js"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const SHOW_WELCOME_SCREEN = "<<SHOW_WELCOME_SCREEN>>" === "true" ? true : false;
const ZAP_SHARED_SECRET = process.env.ZAP_SHARED_SECRET;

import Vue from "vue";
import localforage from "localforage";
import Management from "./Management.vue";

document.addEventListener("DOMContentLoaded", () => {
Expand Down

0 comments on commit bcde54e

Please sign in to comment.