Skip to content

Commit

Permalink
#7 fix broken ie11 js calls
Browse files Browse the repository at this point in the history
  • Loading branch information
Ths2-9Y-LqJt6 committed Jun 22, 2016
1 parent d79f521 commit 9a14a0f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ export default class Filters {

getPossibleFilters(except) {
return Object.keys(this.maptable.columnDetails)
.map(k => Object.assign({ key: k }, this.maptable.columnDetails[k]))
.map(k => utils.extendRecursive({ key: k }, this.maptable.columnDetails[k]))
.filter(v => {
return (this.activeColumns.indexOf(v.key) !== -1) &&
(
Expand Down
2 changes: 1 addition & 1 deletion src/components/Table.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default class Table {
.enter()
.append('tr')
.selectAll('th')
.data(this.activeColumns.map(k => Object.assign({ key: k }, this.maptable.columnDetails[k])))
.data(this.activeColumns.map(k => utils.extendRecursive({ key: k }, this.maptable.columnDetails[k])))
.enter()
.append('th')
.attr('class', d => {
Expand Down
1 change: 1 addition & 0 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ function extendRecursive() {
let src;
let p;
const args = [].splice.call(arguments, 0);
var toString = ({}).toString;

while (args.length > 0) {
src = args.splice(0, 1)[0];
Expand Down

0 comments on commit 9a14a0f

Please sign in to comment.