vendor/assets/javascripts/jquery.validate.localization/messages_gl.js in jquery-validation-rails-1.16.0 vs vendor/assets/javascripts/jquery.validate.localization/messages_gl.js in jquery-validation-rails-1.19.0
- old
+ new
@@ -1,5 +1,15 @@
+(function( factory ) {
+ if ( typeof define === "function" && define.amd ) {
+ define( ["jquery", "../jquery.validate"], factory );
+ } else if (typeof module === "object" && module.exports) {
+ module.exports = factory( require( "jquery" ) );
+ } else {
+ factory( jQuery );
+ }
+}(function( $ ) {
+
/*
* Translated default messages for the jQuery validation plugin.
* Locale: GL (Galician; Galego)
*/
( function( $ ) {
@@ -24,5 +34,7 @@
nifES: "Por favor, escribe un NIF válido.",
nieES: "Por favor, escribe un NIE válido.",
cifES: "Por favor, escribe un CIF válido."
} );
}( jQuery ) );
+return $;
+}));
\ No newline at end of file