简体   繁体   中英

Why can't I mimic page in jsFiddle?

I am viewing the source of http://raphaeljs.com/growing-pie.html . And copying all the relevant stuff into this jsFiddle . But the page is not working at all. I don't get any errors in the fiddle either, except this odd warning: Detected baseUrl as https://towtruck.mozillalabs.com . Anyway, i cant find any differences between the two pages and cant figure out why the fiddle isn't working. Thanks for your help!!! <:)>

The difference is that you need to include the Raphael library. Just selected it in the sidebar and pulled your code out of the onload handler in the JSFiddle in my comment.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM