Skip to content

Commit

Permalink
ver. 0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
光弘 committed Jun 30, 2016
1 parent 830522d commit 1d737bc
Show file tree
Hide file tree
Showing 13 changed files with 97 additions and 339 deletions.
17 changes: 0 additions & 17 deletions .editorconfig

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ _site
sea-modules
spm_modules
.cache
.happypack
dist
build
assets/**/*.css
13 changes: 0 additions & 13 deletions .jshintrc

This file was deleted.

1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Thumbs.db
*.swp
out/
.build
.happypack
node_modules
_site
sea-modules
Expand Down
37 changes: 37 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
language: node_js

sudo: false

notification:
email:
- [email protected]

node_js:
- 4.0.0

before_install:
- |
if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qve '(\.md$)|(\.html$)'
then
echo "Only docs were updated, stopping build process."
exit
fi
phantomjs --version
script:
- |
if [ "$TEST_TYPE" = test ]; then
npm test
else
npm run $TEST_TYPE
fi
env:
matrix:
- TEST_TYPE=test
- TEST_TYPE=coverage
- TEST_TYPE=saucelabs

matrix:
allow_failures:
- env: "TEST_TYPE=saucelabs"
5 changes: 5 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# history

## 0.1.3

`NEW` add new Prop `renderView`
15 changes: 9 additions & 6 deletions demo/InputFormFieldDemo.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
* All rights reserved.
*/

let classnames = require('classnames');
const classnames = require('classnames');

let InputFormField = require('../src');
let {LeftAddon, RightAddon, Count} = InputFormField;
let Form = require('uxcore-form/build/Form');
let Validators = require('uxcore-validator');
const InputFormField = require('../src');
const {LeftAddon, RightAddon, Count} = InputFormField;
const Form = require('uxcore-form/build/Form');
const Validators = require('uxcore-validator');

class Demo extends React.Component {

Expand All @@ -29,7 +29,9 @@ class Demo extends React.Component {
let me = this;
return (
<div>
<Form>
<Form jsxvalues={{
test1: "测试"
}}>
<InputFormField
required={true}
jsxname="test1"
Expand All @@ -49,6 +51,7 @@ class Demo extends React.Component {
<Count total={20}/>
</InputFormField>
</Form>

</div>
);
}
Expand Down
196 changes: 0 additions & 196 deletions gulpfile.js

This file was deleted.

Loading

0 comments on commit 1d737bc

Please sign in to comment.