Skip to content

Commit

Permalink
Amend change the name of this project s/cldr.js/cldrjs
Browse files Browse the repository at this point in the history
Amend 545a3d9

Ref #7
  • Loading branch information
rxaviers committed Apr 11, 2014
1 parent edd5559 commit 8809987
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,13 +210,13 @@ We are UMD wrapped. So, it supports AMD, CommonJS, or global variables (in case
Example of usage on AMD:

```bash
bower install cldr.js
bower install cldrjs
```

```javascript
require.config({
paths: {
"cldr": "bower_components/cldr.js/dist/cldr"
"cldr": "bower_components/cldrjs/dist/cldr"
}
});

Expand All @@ -228,11 +228,11 @@ require( [ "cldr", "cldr/supplemental", "cldr/unresolved" ], function( Cldr ) {
Example of usage with Node.js:

```bash
npm install cldr.js
npm install cldrjs
```

```javascript
var Cldr = require( "cldr.js" );
var Cldr = require( "cldrjs" );
```

### How to get CLDR JSON data?
Expand Down Expand Up @@ -289,7 +289,7 @@ define([
Example using Node.js:

```javascript
var Cldr = require( "cldr.js" );
var Cldr = require( "cldrjs" );
Cldr.load( require( "./cldr/supplemental/likelySubtags.json" ) );
```

Expand Down
2 changes: 1 addition & 1 deletion src/build/intro_supplemental.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
define( [ "../cldr" ], factory );
} else if ( typeof module === "object" && typeof module.exports === "object" ) {
// Node. CommonJS.
module.exports = factory( require( "cldr.js" ) );
module.exports = factory( require( "cldrjs" ) );
} else {
// Global
factory( Cldr );
Expand Down
2 changes: 1 addition & 1 deletion src/build/intro_unresolved.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
define( [ "../cldr" ], factory );
} else if ( typeof module === "object" && typeof module.exports === "object" ) {
// Node. CommonJS.
module.exports = factory( require( "cldr.js" ) );
module.exports = factory( require( "cldrjs" ) );
} else {
// Global
factory( Cldr );
Expand Down

0 comments on commit 8809987

Please sign in to comment.