From ed05eb817cc48aeb2539e9fb07c9308fb79b95cc Mon Sep 17 00:00:00 2001 From: Olly Smith Date: Sat, 14 Jun 2014 07:55:27 +0100 Subject: [PATCH] Add a reminder in the README to only change coffee source. --- README.md | 4 ++++ examples/area.html | 8 +++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8b692bc9..3f76f2fb 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,10 @@ Very daring. Fork, hack, possibly even add some tests, then send a pull request :) +Remember that Morris.js is a coffeescript project. Please make your changes in +the `.coffee` files, not in the compiled javascript files in the root directory +of the project. + ### Developer quick-start You'll need [node.js](https://nodejs.org). I recommend using diff --git a/examples/area.html b/examples/area.html index 0ccef151..4af1dc87 100644 --- a/examples/area.html +++ b/examples/area.html @@ -17,10 +17,12 @@

Area charts

Morris.Area({ element: 'graph', data: [ - {x: '2011 Q1', y: 3, z: 3}, - {x: '2011 Q2', y: 2, z: 0}, + {x: '2010 Q4', y: 3, z: 7}, + {x: '2011 Q1', y: 3, z: 4}, + {x: '2011 Q2', y: null, z: 1}, {x: '2011 Q3', y: 2, z: 5}, - {x: '2011 Q4', y: 4, z: 4} + {x: '2011 Q4', y: 8, z: 2}, + {x: '2012 Q1', y: 4, z: 4} ], xkey: 'x', ykeys: ['y', 'z'],