File tree Expand file tree Collapse file tree 7 files changed +12
-13
lines changed Expand file tree Collapse file tree 7 files changed +12
-13
lines changed Original file line number Diff line number Diff line change 1
- <!doctype html>
1
+ <!DOCTYPE html>
2
2
< html lang ="en ">
3
3
< head >
4
4
< meta charset ="utf-8 ">
18
18
$ ( function ( ) {
19
19
$ ( "#currency" ) . change ( function ( ) {
20
20
var current = $ ( "#spinner" ) . spinner ( "value" ) ;
21
- Globalization . preferCulture ( $ ( this ) . val ( ) ) ;
21
+ $ . global . preferCulture ( $ ( this ) . val ( ) ) ;
22
22
$ ( "#spinner" ) . spinner ( "value" , current ) ;
23
23
} )
24
24
Original file line number Diff line number Diff line change 1
- <!doctype html>
1
+ <!DOCTYPE html>
2
2
< html lang ="en ">
3
3
< head >
4
4
< meta charset ="utf-8 ">
23
23
24
24
$ ( "#culture" ) . change ( function ( ) {
25
25
var current = $ ( "#spinner" ) . spinner ( "value" ) ;
26
- Globalization . preferCulture ( $ ( this ) . val ( ) ) ;
26
+ $ . global . preferCulture ( $ ( this ) . val ( ) ) ;
27
27
$ ( "#spinner" ) . spinner ( "value" , current ) ;
28
28
} )
29
29
} ) ;
Original file line number Diff line number Diff line change 1
- <!doctype html>
1
+ <!DOCTYPE html>
2
2
< html lang ="en ">
3
3
< head >
4
4
< meta charset ="utf-8 ">
Original file line number Diff line number Diff line change 1
- <!doctype html>
1
+ <!DOCTYPE html>
2
2
< html lang ="en ">
3
3
< head >
4
4
< title > jQuery UI Spinner Demos</ title >
Original file line number Diff line number Diff line change 1
- <!doctype html>
1
+ <!DOCTYPE html>
2
2
< html lang ="en ">
3
3
< head >
4
4
< meta charset ="utf-8 ">
Original file line number Diff line number Diff line change 1
- <!doctype html>
1
+ <!DOCTYPE html>
2
2
< html lang ="en ">
3
3
< head >
4
4
< meta charset ="utf-8 ">
Original file line number Diff line number Diff line change 1
- <!doctype html>
1
+ <!DOCTYPE html>
2
2
< html lang ="en ">
3
3
< head >
4
4
< meta charset ="utf-8 ">
24
24
25
25
_parse : function ( value ) {
26
26
if ( typeof value == 'string' ) {
27
- return + Globalization . parseDate ( value )
27
+ return + $ . global . parseDate ( value )
28
28
}
29
29
return value ;
30
30
} ,
31
31
_format : function ( ) {
32
- this . element . val ( Globalization . format ( new Date ( this . options . value ) , "t" ) ) ;
32
+ this . element . val ( $ . global . format ( new Date ( this . options . value ) , "t" ) ) ;
33
33
}
34
34
} )
35
35
$ ( function ( ) {
36
36
$ ( "#spinner" ) . timespinner ( ) ;
37
37
38
-
39
38
$ ( "#culture" ) . change ( function ( ) {
40
39
var current = $ ( "#spinner" ) . timespinner ( "value" ) ;
41
- Globalization . preferCulture ( $ ( this ) . val ( ) ) ;
40
+ $ . global . preferCulture ( $ ( this ) . val ( ) ) ;
42
41
$ ( "#spinner" ) . timespinner ( "value" , current ) ;
43
42
} ) ;
44
43
} ) ;
You can’t perform that action at this time.
0 commit comments