diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e859fc56..94995bd7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -28,10 +28,10 @@ always be in sync. ### Development -- `script/test` will fire up a karma runner and watch for changes in the - specs directory. -- `npm test` will do the same but doesn't watch, just runs the tests. -- `script/build-examples` does exactly that. +- `npm start` runs the dev server to run/develop examples +- `npm test` will run the test. +- `script/test` same as `npm test` but keeps karma running and watches + for changes ### Build diff --git a/examples/basic/app.js b/examples/basic/app.js index 42c3dbe8..b4b0a5cf 100644 --- a/examples/basic/app.js +++ b/examples/basic/app.js @@ -27,6 +27,10 @@ var App = React.createClass({ this.setState({modalIsOpen: false}); }, + handleInputChange: function() { + this.setState({foo: 'bar'}); + }, + render: function() { return (