Skip to content

Commit

Permalink
refactor(grid): remove bind arguments, not used
Browse files Browse the repository at this point in the history
  • Loading branch information
jmzagorski committed May 2, 2018
1 parent 48de363 commit 0a3a4cf
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions aurelia-slickgrid/src/aurelia-slickgrid/aurelia-slickgrid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,7 @@ export class AureliaSlickgridCustomElement {
}));
}

/**
* Keep original value(s) that could be passed by the user ViewModel.
* If nothing was passed, it will default to first option of select
*/
bind(binding: any, contexts: any) {
bind() {
// get the grid options (priority is Global Options first, then user option which could overwrite the Global options)
this.gridOptions = { ...GlobalGridOptions, ...this.gridOptions };

Expand Down

0 comments on commit 0a3a4cf

Please sign in to comment.