morrisjs / morris.js

Pretty time-series line graphs
http://morrisjs.github.com/morris.js/
6.92k stars 1.23k forks source link

JSBin example not working #768

Closed nombrekeff closed 6 years ago

nombrekeff commented 6 years ago

http://jsbin.com/uqawig/441/embed?js,console,output The above example does not seem to work, it throws this on the console:

"error"
"ReferenceError: Morris is not defined at uqawig.js:6:1"
rfcaio commented 6 years ago

Hey bro, just replace the dependencies in the <head> for this:

<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/morris.js/0.5.1/morris.css">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/morris.js/0.5.1/morris.min.js"></script>
nombrekeff commented 6 years ago

Okey, thanks. I will try that!