UNPKG

modernizr

Version:

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

12 lines (11 loc) 334 B
define(['classes'], function(classes) { /** * slice exposes Array.prototype.slice to convert array-like objects to actual * arrays in a compact format without recreating new arrays over and over again * (which leads to decreased performance) * * @access private */ var slice = classes.slice; return slice; });