react-json-table-v2
Advanced tools
Comparing version 0.1.5 to 0.1.6
/* | ||
react-json-table-v2 v0.1.4 | ||
react-json-table-v2 v0.1.5 | ||
https://github.com/Amedeo91/react-json-table | ||
@@ -84,2 +84,9 @@ MIT: https://github.com/Amedeo91/react-json-table/raw/master/LICENSE | ||
class JsonTable extends React.Component{ | ||
constructor (props){ | ||
super(props); | ||
this.onClickRow = this.onClickRow.bind(this); | ||
this.onClickCell = this.onClickCell.bind(this); | ||
this.onClickHeader = this.onClickCell.bind(this); | ||
} | ||
getSetting(name){ | ||
@@ -239,2 +246,9 @@ return getSetting(name, this) | ||
class Row extends React.Component{ | ||
constructor (props){ | ||
super(props); | ||
this.onClickRow = this.onClickRow.bind(this); | ||
this.onClickCell = this.onClickCell.bind(this); | ||
} | ||
getSetting(name){ | ||
@@ -241,0 +255,0 @@ return getSetting(name, this) |
/* | ||
react-json-table-v2 v0.1.4 | ||
react-json-table-v2 v0.1.5 | ||
https://github.com/Amedeo91/react-json-table | ||
@@ -84,2 +84,9 @@ MIT: https://github.com/Amedeo91/react-json-table/raw/master/LICENSE | ||
class JsonTable extends React.Component{ | ||
constructor (props){ | ||
super(props); | ||
this.onClickRow = this.onClickRow.bind(this); | ||
this.onClickCell = this.onClickCell.bind(this); | ||
this.onClickHeader = this.onClickCell.bind(this); | ||
} | ||
getSetting(name){ | ||
@@ -239,2 +246,9 @@ return getSetting(name, this) | ||
class Row extends React.Component{ | ||
constructor (props){ | ||
super(props); | ||
this.onClickRow = this.onClickRow.bind(this); | ||
this.onClickCell = this.onClickCell.bind(this); | ||
} | ||
getSetting(name){ | ||
@@ -241,0 +255,0 @@ return getSetting(name, this) |
{ | ||
"name": "react-json-table-v2", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "A simple but reactive table react component to display JSON data, based on https://github.com/arqex/react-json-table", | ||
@@ -5,0 +5,0 @@ "main": "rjt.js", |
14
rjt.js
@@ -23,2 +23,9 @@ var React = require('react'); | ||
class JsonTable extends React.Component{ | ||
constructor (props){ | ||
super(props); | ||
this.onClickRow = this.onClickRow.bind(this); | ||
this.onClickCell = this.onClickCell.bind(this); | ||
this.onClickHeader = this.onClickCell.bind(this); | ||
} | ||
getSetting(name){ | ||
@@ -178,2 +185,9 @@ return getSetting(name, this) | ||
class Row extends React.Component{ | ||
constructor (props){ | ||
super(props); | ||
this.onClickRow = this.onClickRow.bind(this); | ||
this.onClickCell = this.onClickCell.bind(this); | ||
} | ||
getSetting(name){ | ||
@@ -180,0 +194,0 @@ return getSetting(name, this) |
50150
1135