File tree Expand file tree Collapse file tree 4 files changed +10
-7
lines changed
Expand file tree Collapse file tree 4 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ before_install:
1414script :
1515- npm run lint
1616- npm run test:lib
17+ - npm run build
1718- cat ./coverage/igniteui-angular-wrappers/lcov.info | coveralls
1819
1920before_deploy :
Original file line number Diff line number Diff line change 1010 "ng" : " ng" ,
1111 "start" : " ng serve" ,
1212 "lint" : " ng lint" ,
13+ "build" : " ng build --prod" ,
1314 "build:lib" : " ng build igniteui-angular-wrappers" ,
1415 "test:lib" : " ng test igniteui-angular-wrappers --watch=false --no-progress --code-coverage --browsers=ChromeHeadless" ,
1516 "test:lib:watch" : " ng test igniteui-angular-wrappers --browsers=ChromeHeadless"
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ export class GridApiMethodsComponent {
9999
100100 if ( ! this . condCombo . selectedItems ( ) ) {
101101 const fElem = this . condCombo . itemsFromIndex ( 0 ) ;
102- this . condCombo . select ( fElem . element ) ;
102+ this . condCombo . select ( fElem [ ' element' ] ) ;
103103 }
104104 const condition = this . condCombo . value ( ) ;
105105
@@ -130,7 +130,7 @@ export class GridApiMethodsComponent {
130130
131131 reCalcPageIndexes ( ) {
132132 const indexes = [ ] ;
133- for ( let i = 0 ; i < Math . ceil ( this . grid . widget ( ) . data ( 'igGrid' ) . dataSource . data ( ) . length / this . currPageSize ) ; i ++ ) {
133+ for ( let i = 0 ; i < Math . ceil ( this . grid . widget ( ) [ ' data' ] ( 'igGrid' ) . dataSource . data ( ) . length / this . currPageSize ) ; i ++ ) {
134134 indexes . push ( { value : i + 1 } ) ;
135135 }
136136 this . pageIndexes = indexes ;
Original file line number Diff line number Diff line change @@ -56,11 +56,12 @@ export class GridDataBindingComponent {
5656 }
5757
5858 createNewProduct ( ) {
59- const newProduct = { } ;
60- newProduct . ProductID = this . data . length + 1 ;
61- newProduct . ProductName = null ;
62- newProduct . QuantityPerUnit = null ;
63- newProduct . UnitPrice = null ;
59+ const newProduct = {
60+ ProductID : this . data . length + 1 ,
61+ ProductName : null ,
62+ QuantityPerUnit : null ,
63+ UnitPrice : null
64+ } ;
6465 return newProduct ;
6566 }
6667
You can’t perform that action at this time.
0 commit comments