]> source.dussan.org Git - jquery-ui.git/commitdiff
Fix spinner demos to latest jquery-global API. Also cleanup.
authorjzaefferer <joern.zaefferer@gmail.com>
Mon, 7 Feb 2011 17:45:10 +0000 (18:45 +0100)
committerjzaefferer <joern.zaefferer@gmail.com>
Mon, 7 Feb 2011 17:45:10 +0000 (18:45 +0100)
demos/spinner/currency.html
demos/spinner/decimal.html
demos/spinner/default.html
demos/spinner/index.html
demos/spinner/latlong.html
demos/spinner/overflow.html
demos/spinner/time.html

index 1c2f01a7270c2c13e20d7b75856fd48a5b8e12f7..44fed4c42e516e7cf1a89037a508f7ca6d1719aa 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>\r
+<!DOCTYPE html>\r
 <html lang="en">\r
 <head>\r
        <meta charset="utf-8">\r
@@ -18,7 +18,7 @@
        $(function() {\r
                $("#currency").change(function() {\r
                        var current = $("#spinner").spinner("value");\r
-                       Globalization.preferCulture($(this).val());\r
+                       $.global.preferCulture($(this).val());\r
                        $("#spinner").spinner("value", current);\r
                })\r
                \r
index f396c18d2030267e82133f62e0b5192658e1047a..5b4af2823aa241ea7496ae0002872db2d83edc0b 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>\r
+<!DOCTYPE html>\r
 <html lang="en">\r
 <head>\r
        <meta charset="utf-8">\r
@@ -23,7 +23,7 @@
                \r
                $("#culture").change(function() {\r
                        var current = $("#spinner").spinner("value");\r
-                       Globalization.preferCulture($(this).val());\r
+                       $.global.preferCulture($(this).val());\r
                        $("#spinner").spinner("value", current);\r
                })\r
        });\r
index d33f3e241a22d1752de892b761862ddf3d00b221..14e0cf9f99a8bcf1d1b48725c6ebfcf2b503c0a8 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>\r
+<!DOCTYPE html>\r
 <html lang="en">\r
 <head>\r
        <meta charset="utf-8">\r
index a49fa13685fbb2c0a95461be715640519f83f225..c1b9d9288d1107cd6379de822dd5eaa931614a62 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>\r
+<!DOCTYPE html>\r
 <html lang="en">\r
 <head>\r
        <title>jQuery UI Spinner Demos</title>\r
index 7decacbdc8e528ee41aa1e32307b28d272936b75..a99caa67b481ef202d30b1ef58ebc6cd7077e26e 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>\r
+<!DOCTYPE html>\r
 <html lang="en">\r
 <head>\r
        <meta charset="utf-8">\r
index 8f489646ae711a07c4a0efeb78f6dd5ea8ff144b..bbdc18437983f5b21631b79688d2b45b6ae59f0e 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>\r
+<!DOCTYPE html>\r
 <html lang="en">\r
 <head>\r
        <meta charset="utf-8">\r
index 8c5560507b19cb9fd5a9bc7a254c73adba9ae76e..d92b942dce88af9165a7290c51ce2cb8bcf81132 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>\r
+<!DOCTYPE html>\r
 <html lang="en">\r
 <head>\r
        <meta charset="utf-8">\r
                \r
                _parse: function(value) {\r
                        if (typeof value == 'string') {\r
-                               return +Globalization.parseDate(value)\r
+                               return +$.global.parseDate(value)\r
                        }\r
                        return value;\r
                },\r
                _format: function() {\r
-                       this.element.val( Globalization.format(new Date(this.options.value), "t") );\r
+                       this.element.val( $.global.format(new Date(this.options.value), "t") );\r
                }\r
        })\r
        $(function() {\r
                $("#spinner").timespinner();\r
                \r
-               \r
                $("#culture").change(function() {\r
                        var current = $("#spinner").timespinner("value");\r
-                       Globalization.preferCulture($(this).val());\r
+                       $.global.preferCulture($(this).val());\r
                        $("#spinner").timespinner("value", current);\r
                });\r
        });\r