From 0a3a4cf35b9ede837dd20f831ddf91b78ec419e1 Mon Sep 17 00:00:00 2001 From: Jeremy Zagorski Date: Wed, 2 May 2018 08:18:32 -0400 Subject: [PATCH] refactor(grid): remove bind arguments, not used --- .../src/aurelia-slickgrid/aurelia-slickgrid.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/aurelia-slickgrid/src/aurelia-slickgrid/aurelia-slickgrid.ts b/aurelia-slickgrid/src/aurelia-slickgrid/aurelia-slickgrid.ts index 2d243c621..bfd83c58f 100644 --- a/aurelia-slickgrid/src/aurelia-slickgrid/aurelia-slickgrid.ts +++ b/aurelia-slickgrid/src/aurelia-slickgrid/aurelia-slickgrid.ts @@ -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 };