Load additional scripts with require if we're in an AMD environment. This fixes https://github.com/victorjonsson/jQuery-Form-Validator/issues/546 and prevents the "mismatched anonymous define() module" error in requirejs when requiring the plugin outside of the normal requirejs environement.
Load additional scripts with require if we're in an AMD environment. This fixes https://github.com/victorjonsson/jQuery-Form-Validator/issues/546 and prevents the "mismatched anonymous define() module" error in requirejs when requiring the plugin outside of the normal requirejs environement.