Skip to content
This repository has been archived by the owner on May 22, 2021. It is now read-only.

use import/export in the frontend code #499

Merged
merged 1 commit into from
Aug 10, 2017
Merged

use import/export in the frontend code #499

merged 1 commit into from
Aug 10, 2017

Conversation

dannycoates
Copy link
Contributor

i guess this is the future?

@dannycoates dannycoates merged commit ec80e8e into master Aug 10, 2017

const storage = new Storage(localStorage);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the Storage() constructor still take arguments? I thought you changed that in #492...


const $ = require('jquery');
const storage = new Storage(localStorage);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above. Should this be new Storage(localStorage) or just new Storage()?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants