ALL: Add plugin UMD wrapper, Closes #977

This commit is contained in:
Lars Laade
2014-05-01 19:00:53 +02:00
parent e5e70b1632
commit db55d36de5
102 changed files with 1246 additions and 1154 deletions

9
demo/requirejs/app.js Normal file
View File

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