Skip to content

Commit

Permalink
[CLEANUP] Remove duplicate default export in snapshot.js
Browse files Browse the repository at this point in the history
`Snapshot` is default export-ed already at the end of the file.
  • Loading branch information
pangratz committed Oct 5, 2015
1 parent 4745dcb commit 01189e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ember-data/lib/system/snapshot.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {

This comment has been minimized.

Copy link
@stefanpenner

stefanpenner Oct 7, 2015

Member

can we restore this one, and remove the other? It's nice to see when looking at something if it is exported or not. This was specifically added to the ES6 grammar to support this case.

This comment has been minimized.

Copy link
@bmac

bmac Oct 7, 2015

Member

Sure

This comment has been minimized.

Copy link
@pangratz

pangratz Oct 7, 2015

Author Member

on it

This comment has been minimized.

Copy link
@pangratz

pangratz Oct 7, 2015

Author Member
function Snapshot(internalModel) {
this._attributes = new EmptyObject();
this._belongsToRelationships = new EmptyObject();
this._belongsToIds = new EmptyObject();
Expand Down

0 comments on commit 01189e8

Please sign in to comment.