vendor/assets/javascripts/jquery.validate.localization/messages_id.js in jquery-validation-rails-1.16.0 vs vendor/assets/javascripts/jquery.validate.localization/messages_id.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: ID (Indonesia; Indonesian)
*/
$.extend( $.validator.messages, {
@@ -18,5 +28,7 @@
rangelength: $.validator.format( "Panjang karakter yg diizinkan antara {0} dan {1} karakter." ),
range: $.validator.format( "Harap masukkan nilai antara {0} dan {1}." ),
max: $.validator.format( "Harap masukkan nilai lebih kecil atau sama dengan {0}." ),
min: $.validator.format( "Harap masukkan nilai lebih besar atau sama dengan {0}." )
} );
+return $;
+}));
\ No newline at end of file