Skip to content

Instantly share code, notes, and snippets.

@goofmint
Last active Jul 18, 2016
Embed
What would you like to do?
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