Skip to content

Commit

Permalink
New build
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewhathaway committed May 1, 2017
1 parent 4d85533 commit 6384d1f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
13 changes: 8 additions & 5 deletions dist/index.js
Expand Up @@ -38,11 +38,7 @@ var Winterfell = (function (_React$Component) {
panelId: undefined,
disableSubmit: false,
renderError: undefined,
renderRequiredAsterisk: undefined,
onSubmit: function onSubmit() {},
onUpdate: function onUpdate() {},
onSwitchPanel: function onSwitchPanel() {},
onRender: function onRender() {}
renderRequiredAsterisk: undefined
}, this.props);

this.panelHistory = [];
Expand Down Expand Up @@ -206,4 +202,11 @@ Winterfell.addErrorMessages = Winterfell.errorMessages.addErrorMessages;
Winterfell.addValidationMethod = Winterfell.validation.addValidationMethod;
Winterfell.addValidationMethods = Winterfell.validation.addValidationMethods;

Winterfell.defaultPRops = {
onSubmit: function onSubmit() {},
onUpdate: function onUpdate() {},
onSwitchPanel: function onSwitchPanel() {},
onRender: function onRender() {}
};

module.exports = Winterfell;

0 comments on commit 6384d1f

Please sign in to comment.