urlsearchparams.js 609 B

123456789101112131415161718192021
  1. /*!
  2. {
  3. "property": "urlsearchparams",
  4. "tags": ["querystring", "url"],
  5. "authors": ["Cătălin Mariș"],
  6. "name": "URLSearchParams API",
  7. "notes": [{
  8. "name": "WHATWG Spec",
  9. "href": "https://url.spec.whatwg.org/#interface-urlsearchparams"
  10. },{
  11. "name": "MDN Docs",
  12. "href": "https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams"
  13. }]
  14. }
  15. !*/
  16. /* DOC
  17. Detects support for an API that provides utility methods for working with the query string of a URL.
  18. */
  19. define(['Modernizr'], function(Modernizr) {
  20. Modernizr.addTest('urlsearchparams', 'URLSearchParams' in window);
  21. });