HTML and CSS Reference
In-Depth Information
function
function
canvasSupport
() {
return
return
Modernizr
.
canvas
;
}
We are going to use the
modernizr.js
method because we think it offers the best approach for
testing whether Canvas is supported in web browsers.