2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-17 19:21:29 +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 -1
View File
@@ -1,3 +1,5 @@
'use strict';
/**
* Syntactic sugar for invoking a function and expanding an array for arguments.
*
@@ -19,7 +21,6 @@
* @returns {Function}
*/
module.exports = function spread(callback) {
'use strict';
return function (arr) {
callback.apply(null, arr);
};