aboutsummaryrefslogtreecommitdiff
path: root/ext/bg
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2019-08-02 00:04:39 +0300
committersiikamiika <siikamiika@users.noreply.github.com>2019-08-02 00:04:39 +0300
commit04f4607922e84d93ca8a05708802fb6bbd61f359 (patch)
tree2c0a873264b07b9d229ddcf7cec5a86b44ba0779 /ext/bg
parente500a647a2518e9090529522b0dd6dd84d26aefe (diff)
use ES6 import and export
Diffstat (limited to 'ext/bg')
-rw-r--r--ext/bg/js/search.js1
-rw-r--r--ext/bg/search.html3
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/search.js b/ext/bg/js/search.js
index 40bf2019..911b5566 100644
--- a/ext/bg/js/search.js
+++ b/ext/bg/js/search.js
@@ -16,6 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+import {Display} from '../../mixed/js/display.js';
class DisplaySearch extends Display {
constructor() {
diff --git a/ext/bg/search.html b/ext/bg/search.html
index 0d6c7cad..09b761cc 100644
--- a/ext/bg/search.html
+++ b/ext/bg/search.html
@@ -43,9 +43,8 @@
<script src="/bg/js/handlebars.js"></script>
<script src="/bg/js/templates.js"></script>
<script src="/bg/js/util.js"></script>
- <script src="/mixed/js/display.js"></script>
<script src="/mixed/js/japanese.js"></script>
- <script src="/bg/js/search.js"></script>
+ <script type="module" src="/bg/js/search.js"></script>
</body>
</html>