Skip to content

Commit

Permalink
Remove internal utf8 utility
Browse files Browse the repository at this point in the history
It was not used anyway.

Furthermore, removing it makes it possible for developers to use the `utf8` package from npm in combination with React Native.

Ref. mathiasbynens/utf8.js#17

Update __utf8.js
  • Loading branch information
mathiasbynens committed Jan 13, 2018
1 parent ed2bfcb commit bef6517
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

'use strict';

const {encode} = require('../utf8');
const {encode} = require('../__utf8');

describe('UTF-8 encoding:', () => {
it('can encode code points < U+80', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule utf8
* @providesModule __utf8
* @flow
*/
'use strict';
Expand Down

0 comments on commit bef6517

Please sign in to comment.