premasagar / pablo

Pablo is a lightweight, expressive JavaScript SVG library. Pablo creates interactive drawings with SVG (Scalable Vector Graphics), giving access to all of SVG's granularity and power.
https://pablojs.com
MIT License
413 stars 16 forks source link

Pablo.support.png not recognised #96

Closed dang2906 closed 8 years ago

dang2906 commented 8 years ago

Hi,

I am currently testing pablo to see if it suits my needs. I ran the DataUrl support test on Microsoft Edge (as i have to have it working on all browsers) and this returned a true response. I then tested the Pablo.support.png(function(support){...}); functionality and when this code is hit i get the following error:

Object doesn't support property or method 'png'

This also happens on chrome for me.

Can you help with this? is it a bug or am i missing something?

Many Thanks,

premasagar commented 8 years ago

Apologies. The docs are wrong; they'll need updating. Try Pablo.support.image.png

premasagar commented 8 years ago

Closing, as docs updated