Team:Sevilla/test3
From 2011.igem.org
(Difference between revisions)
Line 182: | Line 182: | ||
+ | <!--===================================CANVAS================================================--> | ||
- | + | function SupportHTML5(){ | |
- | + | try{ | |
+ | document.createElement("canvas").getContext('2d'); | ||
+ | return true; | ||
+ | }catch(e){ | ||
+ | return false; | ||
+ | } | ||
+ | } | ||
<script> | <script> |
Revision as of 10:23, 17 April 2011
Loading...pulsa F5
function SupportHTML5(){
try{
document.createElement("canvas").getContext('2d');
return true;
}catch(e){
return false;
}
}