Skip to content

Commit

Permalink
Add a reminder in the README to only change coffee source.
Browse files Browse the repository at this point in the history
  • Loading branch information
oesmith committed Jun 14, 2014
1 parent 8f8aa35 commit ed05eb8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 5 additions & 3 deletions examples/area.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ <h1>Area charts</h1>
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'],
Expand Down

0 comments on commit ed05eb8

Please sign in to comment.