-<!doctype html>\r
+<!DOCTYPE html>\r
<html lang="en">\r
<head>\r
<meta charset="utf-8">\r
$(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
-<!doctype html>\r
+<!DOCTYPE html>\r
<html lang="en">\r
<head>\r
<meta charset="utf-8">\r
\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
-<!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