Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 65167a3

Browse files
committed
Merge pull request plotly#225 from plotly/readme-updates
Readme updates
2 parents 4b2ce92 + d428a50 commit 65167a3

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
<a href="https://plot.ly/javascript/"><img src="http://images.plot.ly/logo/[email protected]" height="70"></a>
22

33
[![npm version](https://badge.fury.io/js/plotly.js.svg)](https://badge.fury.io/js/plotly.js)
4+
[![npm downloads](https://img.shields.io/npm/dm/plotly.js.svg?style=flat-square)](https://www.npmjs.com/package/plotly.js)
5+
46
[![circle ci](https://circleci.com/gh/plotly/plotly.js.png?&style=shield&circle-token=1f42a03b242bd969756fc3e53ede204af9b507c0)](https://circleci.com/gh/plotly/plotly.js)
7+
[![Dependency Status](https://img.shields.io/david/plotly/plotly.js.svg?style=flat-square)](https://david-dm.org/plotly/plotly.js)
8+
[![devDependency Status](https://img.shields.io/david/dev/plotly/plotly.js.svg?style=flat-square)](https://david-dm.org/plotly/plotly.js#info=devDependencies)
59

610
Built on top of [d3.js](http://d3js.org/) and [stack.gl](http://stack.gl/),
711
plotly.js is a high-level, declarative charting library. plotly.js ships with 20
@@ -69,7 +73,11 @@ Then elsewhere in your code:
6973
var Plotly = require('./path/to/custom-plotly');
7074
```
7175

72-
**IMPORTANT**: the plotly.js code base contains some non-ascii characters. Therefore, please make sure to set the `chartset` attribute to `"utf-8"` in the script tag that imports your plotly.js bundle. For example:
76+
To learn more about the plotly.js module architecture, refer to our [modularizing monolithic JS projects](https://plot.ly/javascript/modularizing-monolithic-javascript-projects/) post.
77+
78+
#### Non-ascii characters
79+
80+
Important: the plotly.js code base contains some non-ascii characters. Therefore, please make sure to set the `chartset` attribute to `"utf-8"` in the script tag that imports your plotly.js bundle. For example:
7381

7482
```html
7583
<script type="text/javascript" src="my-plotly-bundle.js" charset="utf-8"></script>

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"brfs": "^1.4.3",
8282
"browserify": "^13.0.0",
8383
"browserify-transform-tools": "^1.5.1",
84-
"ecstatic": "^1.2.0",
84+
"ecstatic": "^1.4.0",
8585
"eslint": "^1.10.3",
8686
"falafel": "^1.2.0",
8787
"glob": "^6.0.4",
@@ -97,7 +97,7 @@
9797
"prepend-file": "^1.3.0",
9898
"prettysize": "0.0.3",
9999
"through2": "^2.0.0",
100-
"uglify-js": "^2.5.0",
100+
"uglify-js": "^2.6.1",
101101
"watchify": "^3.7.0",
102102
"xml2js": "^0.4.16"
103103
}

0 commit comments

Comments
 (0)