Skip to content

Add UMD to module files #404

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 8, 2016
Merged

Conversation

ray-print
Copy link
Contributor

Module files now should work with Browserify:

var $ = require('jquery');
require('jquery-form-validator');
require('jquery-form-validator/form-validator/security.js');

I also tested with RequireJS and that seems to works okay (but I haven't worked much with Require so perhaps it's clunkier than it needs to be).
I refactored the Gruntfile to use glob patterns; I also created a copy task specifically for copying (before it was part of the concat task, which I think was a bit misleading, and that also meant that we had to create a separate task for each file).

… does not exist and fail validation

Previously, this would just throw an exception.
Fix form.html validation of PW duplication fields
-Use glob patterns for Grunt tasks; don't loop through all files
-Create separate copy task (this was previously bundled in with concat tasks
and required making a separate task for every copied file)
victorjonsson added a commit that referenced this pull request Mar 8, 2016
@victorjonsson victorjonsson merged commit fc15b0c into victorjonsson:master Mar 8, 2016
@ray-print ray-print deleted the 150307/804pm branch March 8, 2016 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants