From 6f34fae4bba8dc61fe030be09f65eddc660ec88d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20T=C3=A9treault-Pinard?= Date: Fri, 29 Jan 2016 09:40:26 -0500 Subject: [PATCH 1/5] add link to modularization blog post --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index a8856e38ba0..e665f695372 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,7 @@ Then elsewhere in your code: var Plotly = require('./path/to/custom-plotly'); ``` +To learn more about the plotly.js module architecture, refer to our [modularing monolithic JS projects](https://plot.ly/javascript/modularizing-monolithic-javascript-projects/) post. **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: ```html From f774ee527c4931d06ad596a80207073d070c0ef7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20T=C3=A9treault-Pinard?= Date: Fri, 29 Jan 2016 09:40:51 -0500 Subject: [PATCH 2/5] add header to non-asci characters section --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e665f695372..f141c0de987 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,10 @@ var Plotly = require('./path/to/custom-plotly'); ``` To learn more about the plotly.js module architecture, refer to our [modularing monolithic JS projects](https://plot.ly/javascript/modularizing-monolithic-javascript-projects/) post. -**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: + +#### Non-ascii characters + +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: ```html From d0abdbf1033106c347c8e25e596b4a14ae24d94d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20T=C3=A9treault-Pinard?= Date: Fri, 29 Jan 2016 09:41:01 -0500 Subject: [PATCH 3/5] add badges --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index f141c0de987..081e006ab16 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,11 @@ [![npm version](https://badge.fury.io/js/plotly.js.svg)](https://badge.fury.io/js/plotly.js) +[![npm downloads](https://img.shields.io/npm/dm/plotly.js.svg?style=flat-square)](https://www.npmjs.com/package/plotly.js) + [![circle ci](https://circleci.com/gh/plotly/plotly.js.png?&style=shield&circle-token=1f42a03b242bd969756fc3e53ede204af9b507c0)](https://circleci.com/gh/plotly/plotly.js) +[![Dependency Status](https://img.shields.io/david/plotly/plotly.js.svg?style=flat-square)](https://david-dm.org/plotly/plotly.js) +[![devDependency Status](https://img.shields.io/david/dev/plotly/plotly.js.svg?style=flat-square)](https://david-dm.org/plotly/plotly.js#info=devDependencies) Built on top of [d3.js](http://d3js.org/) and [stack.gl](http://stack.gl/), plotly.js is a high-level, declarative charting library. plotly.js ships with 20 From ddbbc23870ea9e1bf147e1d202db49418921c23b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20T=C3=A9treault-Pinard?= Date: Fri, 29 Jan 2016 11:06:15 -0500 Subject: [PATCH 4/5] fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 081e006ab16..a6295e7aaad 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ Then elsewhere in your code: var Plotly = require('./path/to/custom-plotly'); ``` -To learn more about the plotly.js module architecture, refer to our [modularing monolithic JS projects](https://plot.ly/javascript/modularizing-monolithic-javascript-projects/) post. +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. #### Non-ascii characters From d428a504c6ccc8be109f84384386364a53597153 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20T=C3=A9treault-Pinard?= Date: Fri, 29 Jan 2016 11:44:56 -0500 Subject: [PATCH 5/5] bump insecure dev deps --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 21932292409..61d65701247 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,7 @@ "brfs": "^1.4.3", "browserify": "^13.0.0", "browserify-transform-tools": "^1.5.1", - "ecstatic": "^1.2.0", + "ecstatic": "^1.4.0", "eslint": "^1.10.3", "falafel": "^1.2.0", "glob": "^6.0.4", @@ -97,7 +97,7 @@ "prepend-file": "^1.3.0", "prettysize": "0.0.3", "through2": "^2.0.0", - "uglify-js": "^2.5.0", + "uglify-js": "^2.6.1", "watchify": "^3.7.0", "xml2js": "^0.4.16" }