Commit 71cd5801 authored by chriseth's avatar chriseth

Merge pull request #26 from chriseth/travis

Add travis config.
parents 00620484 f962f7dc
.travis.yml
language: node_js
node_js:
- stable
...@@ -22,12 +22,12 @@ ...@@ -22,12 +22,12 @@
"babel-preset-react": "^6.5.0", "babel-preset-react": "^6.5.0",
"babelify": "^7.2.0", "babelify": "^7.2.0",
"standard": "^7.0.1", "standard": "^7.0.1",
"standard-reporter": "^0.0.9" "standard-reporter": "^1.0.5"
}, },
"scripts": { "scripts": {
"start_node": "eth --rpccorsdomain \"*\" -j -v 0", "start_node": "eth --rpccorsdomain \"*\" -j -v 0",
"build": "mkdir -p build; browserify -t [ babelify --presets [ react ] ] src/index.js -o build/app.js", "build": "mkdir -p build; browserify -t [ babelify --presets [ react ] ] src/index.js -o build/app.js",
"test" : "standard 2>&1 | standard-reporter > lint.xml" "test" : "standard"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
......
...@@ -13,7 +13,7 @@ const codes = { ...@@ -13,7 +13,7 @@ const codes = {
0x08: ['ADDMOD', 8, 3, 1, false], 0x08: ['ADDMOD', 8, 3, 1, false],
0x09: ['MULMOD', 8, 3, 1, false], 0x09: ['MULMOD', 8, 3, 1, false],
0x0a: ['EXP', 10, 2, 1, false], 0x0a: ['EXP', 10, 2, 1, false],
0x0b: ['SIGNEXTEND', 5, 1, 1, false] 0x0b: ['SIGNEXTEND', 5, 1, 1, false],
// 0x10 range - bit ops // 0x10 range - bit ops
0x10: ['LT', 3, 2, 1, false], 0x10: ['LT', 3, 2, 1, false],
......
...@@ -21,7 +21,7 @@ module.exports = React.createClass({ ...@@ -21,7 +21,7 @@ module.exports = React.createClass({
this.setState({from: tx.from, to: tx.to, hash: tx.hash}) this.setState({from: tx.from, to: tx.to, hash: tx.hash})
} }
this.props.onNewTxRequested(this.state.blockNumber, parseInt(this.state.txNumber)) this.props.onNewTxRequested(this.state.blockNumber, parseInt(this.state.txNumber))
} },
updateBlockN: function (ev) { updateBlockN: function (ev) {
this.state.blockNumber = ev.target.value this.state.blockNumber = ev.target.value
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment