Skip to content

Commit 9e22aaf

Browse files
authored
Merge pull request #407 from stasm/remove-fluent-intl-polyfill
Remove fluent-intl-polyfill
2 parents 66a351f + 3de627c commit 9e22aaf

16 files changed

+5
-232
lines changed

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ be installed independently of each other.
2121

2222
- [fluent](https://github.com/projectfluent/fluent.js/tree/master/fluent)
2323
- [fluent-syntax](https://github.com/projectfluent/fluent.js/tree/master/fluent-syntax)
24-
- [fluent-intl-polyfill](https://github.com/projectfluent/fluent.js/tree/master/fluent-intl-polyfill)
2524
- [fluent-langneg](https://github.com/projectfluent/fluent.js/tree/master/fluent-langneg)
2625
- [fluent-react](https://github.com/projectfluent/fluent.js/tree/master/fluent-react)
2726

fluent-intl-polyfill/.gitignore

-2
This file was deleted.

fluent-intl-polyfill/.npmignore

-5
This file was deleted.

fluent-intl-polyfill/CHANGELOG.md

-24
This file was deleted.

fluent-intl-polyfill/README.md

-43
This file was deleted.

fluent-intl-polyfill/bundle_config.js

-10
This file was deleted.

fluent-intl-polyfill/compat_config.js

-11
This file was deleted.

fluent-intl-polyfill/licenses/intl-pluralrules

-13
This file was deleted.

fluent-intl-polyfill/makefile

-29
This file was deleted.

fluent-intl-polyfill/package.json

-37
This file was deleted.

fluent-intl-polyfill/src/index.js

-9
This file was deleted.

fluent-intl-polyfill/test/plural_rules_test.js

-41
This file was deleted.

fluent-react/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ maximum flexibility, `fluent-react` expects the developer to write a little bit
2323
of a setup code related to language negotiation and translation fetching. It
2424
makes `fluent-react` unopinionated and suitable for many different scenarios.
2525
You will likely also need to install a few other packages: `fluent`,
26-
`fluent-langneg` and `fluent-intl-polyfill`.
26+
`fluent-langneg` and `intl-pluralrules`.
2727

2828
Consult the [wiki][] for documentation on how to set up and use `fluent-react`.
2929

fluent/README.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,10 @@ The API reference is available at http://projectfluent.org/fluent.js/fluent.
5050
- `Intl.PluralRules` (standard, new in ECMAScript 2018)
5151

5252
`Intl.PluralRules` may already be available in some engines. In most cases,
53-
however, a polyfill will be required. We recommend [fluent-intl-polyfill][]
54-
which uses [intl-pluralrules][].
53+
however, a polyfill will be required. We recommend [intl-pluralrules][].
5554

5655
```javascript
57-
import 'fluent-intl-polyfill';
56+
import 'intl-pluralrules';
5857
import { FluentBundle } from 'fluent';
5958
```
6059

@@ -74,7 +73,6 @@ implementations, and information about how to get involved.
7473

7574

7675
[intl-pluralrules]: https://www.npmjs.com/package/intl-pluralrules
77-
[fluent-intl-polyfill]: https://www.npmjs.com/package/fluent-intl-polyfill
7876
[babel-polyfill]: https://babeljs.io/docs/usage/polyfill/
7977
[Stage 3 proposal]:https://github.com/tc39/proposal-intl-plural-rules
8078
[env preset]: https://babeljs.io/docs/plugins/preset-env/

fluent/test/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
const fs = require('fs');
4-
require('../../fluent-intl-polyfill/src');
4+
require('intl-pluralrules');
55

66
exports.readfile = function readfile(path) {
77
return new Promise(function(resolve, reject) {

tools/format.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const fs = require('fs');
77
const program = require('commander');
88

99
require = require('esm')(module);
10-
require('../fluent-intl-polyfill/src');
10+
require('intl-pluralrules');
1111
const Fluent = require('../fluent/src');
1212

1313
program

0 commit comments

Comments
 (0)