added raphael dependency

This commit is contained in:
Charly Koza 2013-07-05 16:58:23 +02:00
parent 48bc0bfdc3
commit d82d31519a
2 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,7 @@
Morris = {};
if (typeof module !== 'undefined' && module.exports) {
var Raphael = require('raphael');
module.exports = Morris;
} else {
window.Morris = Morris

View File

@ -4,6 +4,9 @@
"homepage": "http://oesmith.github.com/morris.js",
"description": "Easy, pretty charts",
"main": "morris.js",
"dependencies":{
"raphael":"2.x"
},
"author": {
"name": "Olly Smith",
"email": "olly@oesmith.co.uk"