globalize
globalize copied to clipboard
What's "Globalization"?
Trying to use the revamped jQuery Global, i.e. Globalization, in the most obvious way...
I get the error message "Globalization is not defined". Apparently the reason is that Globalization.all.js uses the identifier "Globalization".
So there's presumably something not quite finished yet in the transition or there is something one should do (define "Globalization"?) before calling the methods, but what? (The documentation is silent about this.)
The globinfo directory is no longer and what was lib/globalize.cultures.js (for a few days) is now lib/cultures/globalize.cultures.js.
See examples/browser/index.html. Instead of
<script src="jquery/lib/globalize.cultures.js"></script>
<script src="jquery/globinfo/Globalization.all.js"></script>
<script>alert(Globalize.format(new Date(),"D","fi"))</script>
it should be
<script src="lib/globalize.js"></script>
<script src="lib/cultures/globalize.cultures.js"></script>
<script>alert(Globalize.format(new Date(),"D","fi"))</script>