Skip to content
This repository was archived by the owner on Apr 14, 2021. It is now read-only.

Commit 9cc1533

Browse files
committed
Updated README.md, set version to 0.1.2
1 parent bc17e4c commit 9cc1533

File tree

3 files changed

+19
-12
lines changed

3 files changed

+19
-12
lines changed

README.md

+17-10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Intl.js [![Build Status][]](https://travis-ci.org/andyearnshaw/Intl.js)
2+
13
In December 2012, ECMA International published the first edition of Standard ECMA-402,
24
better known as the _ECMAScript Internationalization API_. This specification provides
35
the framework to bring long overdue localisation methods to ECMAScript implementations.
@@ -10,7 +12,10 @@ current Firefox nightly builds.
1012
described by the specification, so that developers can take advantage of the native API
1113
in environments that support it, or `Intl.js` for legacy or unsupporting environments.
1214

13-
## <a id=start></a>Getting started
15+
[Build Status]: https://travis-ci.org/andyearnshaw/Intl.js.png?branch=master
16+
17+
18+
## Getting started
1419
For Node.js applications, you can install Intl.js using NPM:
1520

1621
npm install intl
@@ -29,12 +34,8 @@ var nf = new (Intl || IntlPolyfill).NumberFormat(undefined, {style:'currency', c
2934
document.getElementById('price').textContent = nf.format(100);
3035
```
3136

32-
## <a id=status></a>Status
33-
The latest test, run on January 10 2013, scored 111 out of 111<sup>\*</sup> in Node.js.
34-
35-
Aside from 1 issue with floating point precision in Firefox/SpiderMonkey, `NumberFormat`
36-
seems to be rather complete.
3737

38+
## Status
3839
Current progress is as follows:
3940

4041
### Implemented
@@ -66,13 +67,14 @@ Current progress is as follows:
6667
A few of the implemented functions may currently be non-conforming and/or incomplete.
6768
Most of those functions have comments marked as 'TODO' in the source code.
6869

69-
<sup>\*</sup> The test suite is run with Intl.Collator tests removed, and the Collator
70-
constructor removed from most other tests in the suite. Also some parts of tests that
71-
cannot be passed by a JavaScript implementation have been disabled, as well as a small
72-
part of the same tests that fail due to [this bug in v8][].
70+
The test suite is run with Intl.Collator tests removed, and the Collator
71+
constructor removed from most other tests in the suite. Also some parts of
72+
tests that cannot be passed by a JavaScript implementation have been disabled,
73+
as well as a small part of the same tests that fail due to [this bug in v8][].
7374

7475
[this bug in v8]: https://code.google.com/p/v8/issues/detail?id=2694
7576

77+
7678
## What about Intl.Collator?
7779

7880
Providing an `Intl.Collator` implementation is no longer a goal of this project. There
@@ -86,12 +88,17 @@ are several reasons, including:
8688
Server-side JavaScript environments will (hopefully) soon support Intl.Collator,
8789
and we can't really expect client environments to download this data.
8890

91+
8992
## Compatibility
9093
Intl.js is designed to be compatible with ECMAScript 3.1 environments in order to
9194
follow the specification as closely as possible. However, some consideration is given
9295
to legacy (ES3) environments, and the goal of this project is to at least provide a
9396
working, albeit non-compliant implementation where ES5 methods are unavailable.
9497

98+
A subset of the tests in the test suite are run in IE 8. Tests that are not passable
99+
are skipped, but these tests are mostly about ensuring built-in function behaviour.
100+
101+
95102
## Locale Data
96103
`Intl.js` uses the Unicode CLDR locale data, as recommended by the specification.
97104
The data is available in JSON format, or JSONP format in the [locale-data](https://github.com/andyearnshaw/Intl.js/tree/master/locale-data)

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "intl",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "polyfill the ECMA-402 Intl API (except collation)",
55
"main": ["Intl.js", "Intl.min.js"],
66
"keywords": [

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "intl",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "Polyfill the ECMA-402 Intl API (except collation)",
55
"main": "Intl.complete.js",
66
"directories": {

0 commit comments

Comments
 (0)