Permalink
Browse files

feat(project): Make populate usable as array of strings

  • Loading branch information...
jeremyvergnas committed Nov 25, 2016
1 parent c256c1e commit a93480b9fd5e978e475fd3ce1ec4a75115f0eec0
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/datatable.js
@@ -294,6 +294,10 @@ export class DataTable {
return true;
}
if (typeof this.populate !== 'string') {
return this.populate.indexOf(column) === -1;
}
return this.populate
.replace(' ', '')
.split(',')

0 comments on commit a93480b

Please sign in to comment.