Skip to content

Commit

Permalink
Examples: Minor content fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rxaviers committed Sep 25, 2014
1 parent 09ebcb0 commit 2e134e5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion examples/amd-bower/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ information, see [bower's cldr-data](https://github.com/rxaviers/cldr-data-bower
Once you've completed the requirements above:

1. Start a server by running `python -m SimpleHTTPServer` or other alternative servers such as [http-server](https://github.com/nodeapps/http-server), [nginx](http://nginx.org/en/docs/), [apache](http://httpd.apache.org/docs/trunk/).
1. Open your JavaScript console to see the demo output.
1. Point your browser at `http://localhost:8000/`.
1. Understand the demo by reading the source code (both index.html and main.js).
We have comments there for you.
6 changes: 4 additions & 2 deletions examples/amd-bower/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ <h1>Globalize Hello World (AMD + bower)</h1>
<div id="requirements">
<h2>Requirements</h2>
<ul>
<li>You need to download dependencies and CLDR content yourself. Read README.md for instructions.
</li>
<li>Run `bower install` (you must have bower installed first).</li>
<li>Start a server, e.g., by running `python -m SimpleHTTPServer`.</li>
<li>Point your browser at `http://localhost:8000/`.</li>
<li>Please, read README.md for more information on any of the above.</li>
</ul>
</div>

Expand Down
6 changes: 3 additions & 3 deletions examples/plain-javascript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ Before running it, execute the requirements below.

Globalize's dependencies are listed on [Getting
Started](../../README.md#dependencies), and the only one is
[cldr.js](https://github.com/rxaviers/cldrjs). You are free to fetch it the way
[cldrjs](https://github.com/rxaviers/cldrjs). You are free to fetch it the way
you want. But, as an exercise of this demo, we'll download it ourselves. So:

1. Click at [cldr.js releases tab](https://github.com/rxaviers/cldrjs/releases).
1. Click at [cldrjs releases tab](https://github.com/rxaviers/cldrjs/releases).
1. Download the latest package.
1. Unzip it.
1. Move its `dist/` files into `cldrjs` of this directory.
Expand All @@ -36,7 +36,7 @@ Then, you'll get this:
└── index.html
```

For more information read [cldr.js' usage and
For more information read [cldrjs' usage and
installation](https://github.com/rxaviers/cldrjs#usage-and-installation) docs.

**2. CLDR content**
Expand Down
4 changes: 2 additions & 2 deletions examples/plain-javascript/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h1>Globalize Hello World (plain javascript)</h1>
<div id="requirements">
<h2>Requirements</h2>
<ul>
<li>You need to download the `cldr.js` dependency yourself. Read README.md for instructions.
<li>You need to download the `cldrjs` dependency yourself. Read README.md for instructions.
</li>
</ul>
</div>
Expand All @@ -28,7 +28,7 @@ <h2>Demo output</h2>
</div>

<!--
First, we load Globalize's dependencies (`cldr.js` and its supplemental
First, we load Globalize's dependencies (`cldrjs` and its supplemental
module).
-->
<script src="cldrjs/cldr.js"></script>
Expand Down

0 comments on commit 2e134e5

Please sign in to comment.