use import/export in the frontend code
This commit is contained in:
parent
11ae7f857c
commit
702134b3b1
15 changed files with 51 additions and 64 deletions
|
@ -1,5 +1,5 @@
|
|||
const testPilotGA = require('testpilot-ga/src/TestPilotGA');
|
||||
const Storage = require('./storage');
|
||||
import testPilotGA from 'testpilot-ga/src/TestPilotGA';
|
||||
import Storage from './storage';
|
||||
const storage = new Storage();
|
||||
|
||||
let hasLocalStorage = false;
|
||||
|
@ -234,7 +234,7 @@ function addRestartHandlers() {
|
|||
});
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
export {
|
||||
copiedLink,
|
||||
startedUpload,
|
||||
cancelledUpload,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue