mirror of
https://github.com/tenrok/axios.git
synced 2026-06-17 19:21:29 +03:00
Modifying isURLSearchParams function to use instanceof instead of duck typing
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
// Polyfill ES6 Promise
|
||||
require('es6-promise').polyfill();
|
||||
|
||||
// Polyfill URLSearchParams
|
||||
URLSearchParams = require('url-search-params');
|
||||
|
||||
// Import axios
|
||||
axios = require('../../index');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user