mirror of
https://github.com/morrisjs/morris.js.git
synced 2024-11-13 07:11:12 +01:00
added raphael dependency
This commit is contained in:
parent
48bc0bfdc3
commit
d82d31519a
2 changed files with 4 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
||||||
|
|
||||||
Morris = {};
|
Morris = {};
|
||||||
if (typeof module !== 'undefined' && module.exports) {
|
if (typeof module !== 'undefined' && module.exports) {
|
||||||
|
var Raphael = require('raphael');
|
||||||
module.exports = Morris;
|
module.exports = Morris;
|
||||||
} else {
|
} else {
|
||||||
window.Morris = Morris
|
window.Morris = Morris
|
||||||
|
|
|
@ -4,6 +4,9 @@
|
||||||
"homepage": "http://oesmith.github.com/morris.js",
|
"homepage": "http://oesmith.github.com/morris.js",
|
||||||
"description": "Easy, pretty charts",
|
"description": "Easy, pretty charts",
|
||||||
"main": "morris.js",
|
"main": "morris.js",
|
||||||
|
"dependencies":{
|
||||||
|
"raphael":"2.x"
|
||||||
|
},
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Olly Smith",
|
"name": "Olly Smith",
|
||||||
"email": "olly@oesmith.co.uk"
|
"email": "olly@oesmith.co.uk"
|
||||||
|
|
Loading…
Reference in a new issue