diff options
Diffstat (limited to 'lang/js/src')
-rw-r--r-- | lang/js/src/index.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lang/js/src/index.js b/lang/js/src/index.js index 2fed95f9..51f07538 100644 --- a/lang/js/src/index.js +++ b/lang/js/src/index.js @@ -34,7 +34,7 @@ import { Connection } from './Connection'; */ function init(){ return new Promise(function(resolve, reject){ - let connection = Object.freeze(new Connection); + const connection = Object.freeze(new Connection); connection.checkConnection(false).then( function(result){ if (result === true) { @@ -48,6 +48,5 @@ function init(){ }); } -export default { - init: init -};
\ No newline at end of file +const exportvalue = Object.freeze({init:init}); +export default exportvalue;
\ No newline at end of file |