Skip to content

Instantly share code, notes, and snippets.

@goofmint
Created July 18, 2016 08:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goofmint/3766946c78b5b45e3c806c2fef61d348 to your computer and use it in GitHub Desktop.
Save goofmint/3766946c78b5b45e3c806c2fef61d348 to your computer and use it in GitHub Desktop.
4.md
'.confirm click': function(context, $el) {
// 初期化
context.event.preventDefault();
// バリデーション実行
if (!this._formController.validate().isValid) {
this.$find(".msg").show();
return false;
} else {
this.$find(".msg").hide();
}
:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment