Skip to content

Instantly share code, notes, and snippets.

@goofmint
Last active July 18, 2016 09:00
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/44b1ee2651b6922610ed25b6367b9f4a to your computer and use it in GitHub Desktop.
Save goofmint/44b1ee2651b6922610ed25b6367b9f4a to your computer and use it in GitHub Desktop.
4.md
(function($) {
var reportController = {
__name: 'ReportController',
__ready: function() {
},
'.confirm click': function(context, $el) {
// 入力値の検証
},
};
h5.core.expose(reportController);
})(jQuery);
$(function() {
h5.core.controller(document.body, ReportController);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment