mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Update to latest jquery-global plugin
This commit is contained in:
parent
6a79c70852
commit
086131b937
6
external/jquery.global.js
vendored
6
external/jquery.global.js
vendored
@ -152,6 +152,12 @@ Globalization.parseInt = function(value, radix, culture) {
|
|||||||
return Math.floor( this.parseFloat( value, radix, culture ) );
|
return Math.floor( this.parseFloat( value, radix, culture ) );
|
||||||
}
|
}
|
||||||
Globalization.parseFloat = function(value, radix, culture) {
|
Globalization.parseFloat = function(value, radix, culture) {
|
||||||
|
// make radix optional
|
||||||
|
if (typeof radix === "string") {
|
||||||
|
culture = radix;
|
||||||
|
radix = 10;
|
||||||
|
}
|
||||||
|
|
||||||
culture = this.findClosestCulture( culture );
|
culture = this.findClosestCulture( culture );
|
||||||
var ret = NaN,
|
var ret = NaN,
|
||||||
nf = culture.numberFormat;
|
nf = culture.numberFormat;
|
||||||
|
Loading…
Reference in New Issue
Block a user