This repository was archived by the owner on Apr 2, 2019. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 backgrid 0.3.5
33 http://github.com/wyuenho/backgrid
44
5- Copyright (c) 2016 Jimmy Yuen Ho Wong and contributors <wyuenho@gmail.com>
5+ Copyright (c) 2015 Jimmy Yuen Ho Wong and contributors <wyuenho@gmail.com>
66 Licensed under the MIT license.
77*/
88
@@ -2305,7 +2305,7 @@ var Body = Backgrid.Body = Backbone.View.extend({
23052305 this . columns = new Columns ( this . columns ) ;
23062306 }
23072307
2308- this . row = options . row || Row ;
2308+ this . row = options . row || this . row || Row ;
23092309 this . rows = this . collection . map ( function ( model ) {
23102310 var row = new this . row ( {
23112311 columns : this . columns ,
@@ -2904,4 +2904,4 @@ var Grid = Backgrid.Grid = Backbone.View.extend({
29042904
29052905} ) ;
29062906 return Backgrid ;
2907- } ) ) ;
2907+ } ) ) ;
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ var Body = Backgrid.Body = Backbone.View.extend({
3939 this . columns = new Columns ( this . columns ) ;
4040 }
4141
42- this . row = options . row || Row ;
42+ this . row = options . row || this . row || Row ;
4343 this . rows = this . collection . map ( function ( model ) {
4444 var row = new this . row ( {
4545 columns : this . columns ,
You can’t perform that action at this time.
0 commit comments