Skip to content

Commit 6f35fba

Browse files
committed
fix knockout.kogrid/knockout.kogrid-tests.ts
1 parent 38f4ac3 commit 6f35fba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

knockout.kogrid/knockout.kogrid-tests.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module KoGridTests
1919
}
2020

2121
public createDefaultGridOptions<Type>(dataArray: KnockoutObservableArray<Type>, selectedItems: KnockoutObservableArray<Type>): kg.GridOptions<Type> {
22-
var result = {
22+
return {
2323
data: dataArray,
2424
displaySelectionCheckbox: false,
2525
footerVisible: false,
@@ -28,7 +28,6 @@ module KoGridTests
2828
plugins: null,
2929
selectedItems: selectedItems
3030
};
31-
return result;
3231
}
3332
}
3433
}

0 commit comments

Comments
 (0)