first commit
This commit is contained in:
3
public/bower_components/jquery-validation/src/additional/integer.js
vendored
Executable file
3
public/bower_components/jquery-validation/src/additional/integer.js
vendored
Executable file
@@ -0,0 +1,3 @@
|
||||
$.validator.addMethod( "integer", function( value, element ) {
|
||||
return this.optional( element ) || /^-?\d+$/.test( value );
|
||||
}, "A positive or negative non-decimal number please" );
|
||||
Reference in New Issue
Block a user