Created
March 30, 2019 17:34
-
-
Save copperwall/b468205938b5a3390a8a4be2fd5f01ed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Form.onSubmitFactory = fn => form => ev => { | |
ev.preventDefault(); | |
fn(Form.getData(form)); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment