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

Fix IE11 detection #93

Closed skozin closed 10 years ago

skozin commented 10 years ago

Browser detection is broken for IE11: ua string is lowercased, but "Trident" string begins with a capital letter. As a result, prefix is not determined correctly (name == "mozilla", prefix == "moz") and Pablo.isSupported is set to false.

premasagar commented 10 years ago

Thanks. This, and some other things is in the v0.4 branch, now merged into master.