openspending/openspendingjs — pull request #26 by vitorbaptista (2013-07-20 12:48:19+00:00)
Title: [#25] Check that the browser supports Canvas explicitly, instead of testing for IE

What motivated me is that $.browser was deprecated in JQuery 1.3, and removed
in 1.9. Thsi new test is faster and better.

Check
http://stackoverflow.com/questions/2745432/best-way-to-detect-that-html5-canvas-is-not-supported
for more info.