summaryrefslogtreecommitdiff
path: root/core/des.js
diff options
context:
space:
mode:
authorSolly Ross <sross@redhat.com>2017-02-03 23:17:44 -0500
committerSolly Ross <sross@redhat.com>2017-02-26 16:30:37 -0500
commit3ae0bb0968907dad1f730372f5309dc2cf0ea000 (patch)
tree3a8a966df5bc4969d5c558d982f3bb51c743321b /core/des.js
parentd55e4545829b1386750bdbf4184c91168f41e565 (diff)
downloadnovnc-3ae0bb0968907dad1f730372f5309dc2cf0ea000.tar.gz
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.
Diffstat (limited to 'core/des.js')
-rw-r--r--core/des.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/des.js b/core/des.js
index c9a4753..6268493 100644
--- a/core/des.js
+++ b/core/des.js
@@ -77,7 +77,7 @@
/* jslint white: false */
-/* [module] export default */ function DES(passwd) {
+export default function DES(passwd) {
"use strict";
// Tables, permutations, S-boxes, etc.