Skip to content

Commit

Permalink
Merge pull request shatran#12 from adityaj221/master
Browse files Browse the repository at this point in the history
Updating dependency tree
  • Loading branch information
shatran authored Aug 4, 2016
2 parents 4c830bc + 0dbcdfb commit b5d1f10
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 25 deletions.
18 changes: 9 additions & 9 deletions lib/card-react-form-container.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@
};
},
componentWillMount: function() {
var type, _i, _len, _ref, _results;
var i, len, ref, results, type;
this.inputsValues = {};
this.inputsRefs = {};
this.cardFlipped = false;
_ref = this.props.fieldTypes;
_results = [];
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
type = _ref[_i];
_results.push(this.inputsValues[this.props.formInputsNames[type]] = this.props.initialValues[type]);
ref = this.props.fieldTypes;
results = [];
for (i = 0, len = ref.length; i < len; i++) {
type = ref[i];
results.push(this.inputsValues[this.props.formInputsNames[type]] = this.props.initialValues[type]);
}
return _results;
return results;
},
componentDidMount: function() {
if (!this.props.container) {
Expand All @@ -70,7 +70,7 @@
},
renderCardComponent: function() {
if (this.cardContainer) {
return ReactDOM.render(React.createElement(ReactCard, React.__spread({}, this.props, {
return ReactDOM.render(React.createElement(ReactCard, Object.assign({}, this.props, {
"cardFlipped": this.cardFlipped,
"focusedInput": this.focusedInput,
"inputsValues": this.inputsValues,
Expand All @@ -97,7 +97,7 @@
_this.inputsRefs[child.props.name] = "react-card-input-" + child.props.name;
}
if (newClassName && inputsValidationClass) {
newClassName = "" + newClassName + " " + inputsValidationClass;
newClassName = newClassName + " " + inputsValidationClass;
} else if (inputsValidationClass) {
newClassName = inputsValidationClass;
}
Expand Down
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,27 @@
"main": "lib/card-react-form-container.js",
"dependencies": {
"classnames": "^2.1.2",
"payment": "0.0.12",
"react": "^0.14.7",
"react-dom": "^0.14.7"
"payment": "2.0.1",
"react": "^15.2.1",
"react-dom": "^15.2.1"
},
"devDependencies": {
"bourbon": "^4.2.3",
"browserify": "^10.2.4",
"coffee-react": "^3.2.0",
"coffee-reactify": "^3.0.0",
"browserify": "^13.0.1",
"coffee-react": "^5.0.0",
"coffee-reactify": "^5.0.0",
"coffee-script": "^1.9.3",
"grunt": "^0.4.5",
"grunt-browserify": "^3.8.0",
"grunt-coffee-react": "^2.4.1",
"grunt-contrib-clean": "^0.6.0",
"grunt": "^1.0.1",
"grunt-browserify": "^5.0.0",
"grunt-coffee-react": "^5.0.1",
"grunt-contrib-clean": "^1.0.0",
"grunt-contrib-compass": "^1.0.3",
"grunt-contrib-concat": "^0.5.1",
"grunt-contrib-connect": "^0.10.1",
"grunt-contrib-cssmin": "^0.12.3",
"grunt-contrib-sass": "^0.9.2",
"grunt-contrib-uglify": "^0.9.1",
"grunt-contrib-watch": "^0.6.1",
"grunt-contrib-concat": "^1.0.1",
"grunt-contrib-connect": "^1.0.2",
"grunt-contrib-cssmin": "^1.0.1",
"grunt-contrib-sass": "^1.0.0",
"grunt-contrib-uglify": "^2.0.0",
"grunt-contrib-watch": "^1.0.0",
"uglify-save-license": "^0.4.1"
},
"scripts": {
Expand Down

0 comments on commit b5d1f10

Please sign in to comment.