battery-api.js 178 B

12345678
  1. // Battery API
  2. // https://developer.mozilla.org/en/DOM/window.navigator.mozBattery
  3. // By: Paul Sayre
  4. Modernizr.addTest('battery',
  5. !!Modernizr.prefixed('battery', navigator)
  6. );