Skip to content

Commit

Permalink
Customizr is currently failing testing due to this property.
Browse files Browse the repository at this point in the history
  • Loading branch information
doctyper committed Feb 10, 2015
1 parent 118fa61 commit e30b53b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feature-detects/ambientlight.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
Detects support for the API that provides information about the ambient light levels, as detected by the device's light detector, in terms of lux units.
*/
define(['Modernizr', 'hasEvent'], function( Modernizr, hasEvent ) {
Modernizr.addTest('devicelight', hasEvent('devicelight', window));
Modernizr.addTest('ambientlight', hasEvent('ambientlight', window));
});

0 comments on commit e30b53b

Please sign in to comment.