globalizejs / globalize

A JavaScript library for internationalization and localization that leverages the official Unicode CLDR JSON data
https://globalizejs.com
MIT License
4.8k stars 603 forks source link

Runtime: add runtime version, set it to 1 #754

Closed nkovacs closed 6 years ago

nkovacs commented 7 years ago

Refs #720

The corresponding compiler PR is https://github.com/globalizejs/globalize-compiler/pull/34

I did it this way so that if you're directly using compiler.compile, it'll work without changes. The compiler will also work without the change in globalize.js.

rxaviers commented 6 years ago

I'm closing this PR, because https://github.com/globalizejs/globalize/pull/719#issuecomment-404961144 was solved using an approach that doesn't require this. Thanks a lot and sorry for the delay.