Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #125 from buildo/124-backport_scriptoni06
Browse files Browse the repository at this point in the history
#124: backport [email protected] (closes #124)
  • Loading branch information
giogonzo authored May 29, 2017
2 parents 367cb41 + b85cb2a commit 348abd9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
build:
rc-datepicker:
image: quay.io/buildo/node5-npm3-chrome
image: quay.io/buildo/node6-chrome
environment:
- NPM_CONFIG_CACHE=/drone/.npm
- NPM_CONFIG_LOGLEVEL=warn
commands:
- npm i -g yarn
- yarn
- npm run lint
- npm run lint-style
- npm test

generate-readme:
image: quay.io/buildo/node5-npm3-chrome
image: node:6
commands:
- npm run generate-readme
- git add src/README.md
Expand Down
2 changes: 1 addition & 1 deletion examples/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class Example extends React.Component {
value={this.state.datePickerDate}
onChange={(jsDate) => this.setState({ datePickerDate: jsDate })}
/>
<p/>
<p />
<p>VALUE LINK</p>
<button onClick={this.resetState}>reset state</button>
<p>jsDate = {String(this.state.datePickerInputDate2)}</p>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@
"require-dir": "^0.3.0",
"resolve-url-loader": "^1.6.0",
"sass-loader": "^3.2.0",
"scriptoni": "^0.6.0",
"smooth-release": "^8.0.3",
"scriptoni": "^0.4.4",
"style-loader": "^0.13.1",
"webpack": "^1.13.1",
"webpack-dev-server": "^1.14.1"
Expand Down
2 changes: 1 addition & 1 deletion test/tests/DatePickerInput-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ describe('DatePickerInput', () => {
requestChange: onChange
};

const input = TestUtils.renderIntoDocument(<DatePickerInput locale='de' valueLink={valueLink} showOnInputClick/>);
const input = TestUtils.renderIntoDocument(<DatePickerInput locale='de' valueLink={valueLink} showOnInputClick />);

const datePickerInputArea = TestUtils.findRenderedDOMComponentWithTag(input, 'input');
TestUtils.Simulate.click(datePickerInputArea);
Expand Down

0 comments on commit 348abd9

Please sign in to comment.