Skip to content

Commit

Permalink
TableDataSet is now available via Window object
Browse files Browse the repository at this point in the history
Example use
var ReactBsTable = window.BootstrapTable;
var ReactTds = window.TableDataSet; //import TableDataSet
var dataSet = new ReactTds(products);
  • Loading branch information
KamranSyed committed Nov 30, 2015
1 parent 9ccac5c commit b6c065a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {TableDataSet} from './store/TableDataStore';
if(typeof window !== 'undefined'){
window.BootstrapTable = BootstrapTable;
window.TableHeaderColumn = TableHeaderColumn;
window.TableDataSet = TableDataSet;
}
export default {
BootstrapTable,
Expand Down

0 comments on commit b6c065a

Please sign in to comment.