browsernizr
Version:
Modernizr wrapper for use with browserify
22 lines (20 loc) • 615 B
JavaScript
/*!
{
"property": "urlsearchparams",
"tags": ["querystring", "url"],
"authors": ["Cătălin Mariș"],
"name": "URLSearchParams API",
"notes": [{
"name": "WHATWG Spec",
"href": "https://url.spec.whatwg.org/#interface-urlsearchparams"
},{
"name": "MDN Docs",
"href": "https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams"
}]
}
!*/
/* DOC
Detects support for an API that provides utility methods for working with the query string of a URL.
*/
var Modernizr = require('./../../lib/Modernizr.js');
Modernizr.addTest('urlsearchparams', 'URLSearchParams' in window);