elem-progress-meter.js 423 B

1234567891011
  1. //By Stefan Wallin
  2. //tests for progressbar-support. All browsers that don't support progressbar returns undefined =)
  3. Modernizr.addTest("progressbar",function(){
  4. return document.createElement('progress').max !== undefined;
  5. });
  6. //tests for meter-support. All browsers that don't support meters returns undefined =)
  7. Modernizr.addTest("meter",function(){
  8. return document.createElement('meter').max !== undefined;
  9. });