g214/static/bower_components/modernizr/feature-detects/battery-api.js

8 lines
178 B
JavaScript
Raw Normal View History

2020-11-12 02:29:05 +00:00
// Battery API
// https://developer.mozilla.org/en/DOM/window.navigator.mozBattery
// By: Paul Sayre
Modernizr.addTest('battery',
!!Modernizr.prefixed('battery', navigator)
);