Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
fix(datatable): Rename method to undo naming collision
Browse files Browse the repository at this point in the history
  • Loading branch information
RWOverdijk committed Jun 24, 2016
1 parent 33cb715 commit 52cb4d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/datatable.js
Expand Up @@ -75,7 +75,7 @@ export class DataTable {
}); });
} }


populate(row) { populateEntity(row) {
return this.repository.getPopulatedEntity(row); return this.repository.getPopulatedEntity(row);
} }


Expand All @@ -84,7 +84,7 @@ export class DataTable {
return this.destroy(row); return this.destroy(row);
} }


this.populate(row).destroy().then(() => { this.populateEntity(row).destroy().then(() => {
this.load(); this.load();
this.triggerEvent('destroyed', row); this.triggerEvent('destroyed', row);
}).catch(error => { }).catch(error => {
Expand Down

0 comments on commit 52cb4d7

Please sign in to comment.