UNPKG

modernizr

Version:

Modernizr is a JavaScript library that detects HTML5 and CSS3 features in the user’s browser.

10 lines (7 loc) 342 B
define(['ModernizrProto'], function( ModernizrProto ) { // List of property values to set for css tests. See ticket #21 var prefixes = ' -webkit- -moz- -o- -ms- '.split(' '); // expose these for the plugin API. Look in the source for how to join() them against your input ModernizrProto._prefixes = prefixes; return prefixes; });