ggdworkshop/public/js/lib/demo/requirejs/app.js
German Correa 9c11ba4d38 Manual merge html from master
- Delete old files
- Re-estructure project dirs
2017-12-09 19:18:51 -03:00

9 lines
236 B
JavaScript

require(["jquery", "../../dist/jquery.validate"], function($) {
$.validator.setDefaults({
submitHandler: function() { alert("submitted!"); }
});
// validate the comment form when it is submitted
$("#commentForm").validate();
});