summaryrefslogtreecommitdiff
path: root/source/bower_components/modernizr/feature-detects/battery-api.js
blob: 4177e8fa7076ef5b1666c7176efeba981912cfb9 (plain)
1
2
3
4
5
6
7
8

// Battery API
// https://developer.mozilla.org/en/DOM/window.navigator.mozBattery
// By: Paul Sayre

Modernizr.addTest('battery',
	!!Modernizr.prefixed('battery', navigator)
);