Load Globalize cultures with Node.js?
- by Xeon06
I'm using jQuery Globalize with Node.js. They have a package.json file so I can simply use it as a module and require it. However, it doesn't load all cultures by default. I was wondering what the proper way to load a culture would be? I could go and do something like
require('./node_modules/globalize/lib/cultures/globalize.culture.es-US.js')
and load the file directly, but that doesn't seem too elegant. Is there a "proper" way to do this?