mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2026-03-14 04:14:55 +00:00
Finish refactoring src/**/*.js to use import & export
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
|
||||
import enums from '../enums.js';
|
||||
|
||||
module.exports = {
|
||||
export default {
|
||||
prefer_hash_algorithm: enums.hash.sha256,
|
||||
encryption_cipher: enums.symmetric.aes256,
|
||||
compression: enums.compression.zip,
|
||||
|
||||
@@ -2,5 +2,7 @@
|
||||
* @see module:config/config
|
||||
* @module config
|
||||
*/
|
||||
import config from './config.js';
|
||||
module.exports = config;
|
||||
|
||||
'use strict';
|
||||
|
||||
export { default } from './config.js';
|
||||
@@ -5,12 +5,10 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
module.exports = LocalStorage;
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
*/
|
||||
function LocalStorage() {}
|
||||
export default function LocalStorage() {}
|
||||
|
||||
/**
|
||||
* Reads the config out of the HTML5 local storage
|
||||
|
||||
Reference in New Issue
Block a user