Hello World (AMD + bower)
The demo is composed of the following files:
. ├── index.html └── main.js
Before running it, execute the requirements below.
1. Install Globalize
Let's use bower to download Globalize. For more information on regard of installation, please read Getting Started.
Note bower will also fetch some other dependencies of this demo, eg. require.js and its json plugin.
You'll get this:
. ├── bower_components/ │ ├── globalize/ │ │ └── dist/ │ │ ├── globalize │ │ │ ├── date.js │ │ │ └── ... │ │ └── globalize.js │ └── ... ├── index.html └── main.js
2. Install Dependencies
No action needed, because bower has already handled that for us.
3. CLDR content
No action needed, because bower has already handled that for us. Note
has postinstall hook that populates bower's cldr-data skeleton. For more
information, see bower's cldr-data.
Running the demo
Once you've completed the requirements above: