Uncomment ES6 module syntax

This removes the special comment part of the ES6 module syntax,
opting to enable ES6 module syntax by default.

It also appends `.js` to all import paths to better support in-browser
loading.
This commit is contained in:
Solly Ross
2017-02-03 23:17:44 -05:00
parent d55e454582
commit 3ae0bb0968
13 changed files with 43 additions and 62 deletions
+4 -5
View File
@@ -10,12 +10,11 @@
/*jslint browser: true, white: false */
/*global Util, Base64, changeCursor */
/* [module]
* import Util from "./util";
* import Base64 from "./base64";
*/
import Util from "./util.js";
import Base64 from "./base64.js";
/* [module] export default */ function Display(defaults) {
export default function Display(defaults) {
this._drawCtx = null;
this._c_forceCanvas = false;