Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLEANUP] Remove duplicate default export in snapshot.js #3819

Merged
merged 1 commit into from
Oct 7, 2015
Merged

[CLEANUP] Remove duplicate default export in snapshot.js #3819

merged 1 commit into from
Oct 7, 2015

Conversation

pangratz
Copy link
Member

@pangratz pangratz commented Oct 5, 2015

Snapshot is default export-ed already at the end of the file.

`Snapshot` is default export-ed already at the end of the file.
@@ -12,7 +12,7 @@ var get = Ember.get;
@constructor
@param {DS.Model} internalModel The model to create a snapshot from
*/
export default function Snapshot(internalModel) {
Copy link
Member

Choose a reason for hiding this comment

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

I'd personally prefer to remove the one at the end, but not a big deal either way....

Copy link
Member Author

Choose a reason for hiding this comment

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

Hmm, Model and Store are also export defaulting at the end. But I am happy to change if this is desired ...

Copy link
Member

Choose a reason for hiding this comment

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

Nah, if that is the style in the codebase already it is better to be consistent (or update them all).

bmac added a commit that referenced this pull request Oct 7, 2015
[CLEANUP] Remove duplicate `default export` in snapshot.js
@bmac bmac merged commit 3bea220 into emberjs:master Oct 7, 2015
@bmac
Copy link
Member

bmac commented Oct 7, 2015

Thanks @pangratz

@pangratz pangratz deleted the remove-duplicate-default-export branch October 7, 2015 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants