Skip to content

Commit

Permalink
Minor javascript tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
boekkooi committed Jan 29, 2015
1 parent 9f53176 commit 5eb19f3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = function (grunt) {
"}(function( $ ) {\n\n";

var umdEnd = "\n}));";
var umdAdditionalDefine = "\t\tdefine( [\"jquery\", \"./jquery.validate\"], factory );\n";
var umdAdditionalDefine = "\t\tdefine( [\"jquery\", \"jquery.validate\"], factory );\n";

grunt.initConfig({
pkg: grunt.file.readJSON("package.json"),
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/public/additional-methods.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/
(function( factory ) {
if ( typeof define === "function" && define.amd ) {
define( ["jquery", "./jquery.validate"], factory );
define( ["jquery", "jquery.validate"], factory );
} else {
factory( jQuery );
}
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/public/additional-methods.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5eb19f3

Please sign in to comment.