2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-11 18:02:32 +03:00

Changing to file level use strict statement

This commit is contained in:
mzabriskie
2015-03-18 17:21:15 -06:00
parent fc12b933f7
commit 60a82ef424
15 changed files with 31 additions and 45 deletions
+2 -3
View File
@@ -1,3 +1,5 @@
'use strict';
/**
* Supply a warning to the developer that a method they are using
* has been deprecated.
@@ -7,9 +9,6 @@
* @param {string} [docs] The documentation URL to get further details
*/
module.exports = function deprecatedMethod(method, instead, docs) {
/*eslint-env node*/
'use strict';
try {
console.warn(
'DEPRECATED method `' + method + '`.' +