summaryrefslogtreecommitdiff
path: root/lib/internal
diff options
context:
space:
mode:
authorJohn-David Dalton <john.david.dalton@gmail.com>2016-05-27 12:20:56 -0700
committerJohn-David Dalton <john.david.dalton@gmail.com>2016-05-31 07:55:40 -0700
commit8f72a77ce43800c8a48e99d9b3f318afc497e6fc (patch)
tree6c13de948b9baae8e3beeb82560f837a1b66ff83 /lib/internal
parentaf6c5956da1d98855a63d34e9c7aa3bb90b4140d (diff)
downloadasync-8f72a77ce43800c8a48e99d9b3f318afc497e6fc.tar.gz
Remove redundant "use strict" directive as ES2015 modules are implicitly in strict mode.
Diffstat (limited to 'lib/internal')
-rw-r--r--lib/internal/applyEach.js2
-rw-r--r--lib/internal/concat.js2
-rw-r--r--lib/internal/consoleFunc.js2
-rw-r--r--lib/internal/doLimit.js2
-rw-r--r--lib/internal/doParallel.js2
-rw-r--r--lib/internal/doParallelLimit.js2
-rw-r--r--lib/internal/doSeries.js2
-rw-r--r--lib/internal/eachOfLimit.js2
-rw-r--r--lib/internal/filter.js2
-rw-r--r--lib/internal/findGetResult.js2
-rw-r--r--lib/internal/iterator.js2
-rw-r--r--lib/internal/map.js2
-rw-r--r--lib/internal/notId.js2
-rw-r--r--lib/internal/onlyOnce.js2
-rw-r--r--lib/internal/parallel.js2
-rw-r--r--lib/internal/queue.js2
-rw-r--r--lib/internal/reject.js2
-rw-r--r--lib/internal/withoutIndex.js2
18 files changed, 0 insertions, 36 deletions
diff --git a/lib/internal/applyEach.js b/lib/internal/applyEach.js
index d472683..50c359e 100644
--- a/lib/internal/applyEach.js
+++ b/lib/internal/applyEach.js
@@ -1,5 +1,3 @@
-'use strict';
-
import rest from 'lodash/rest';
import initialParams from './initialParams';
diff --git a/lib/internal/concat.js b/lib/internal/concat.js
index 482ad3a..a55de2e 100644
--- a/lib/internal/concat.js
+++ b/lib/internal/concat.js
@@ -1,5 +1,3 @@
-'use strict';
-
export default function concat(eachfn, arr, fn, callback) {
var result = [];
eachfn(arr, function (x, index, cb) {
diff --git a/lib/internal/consoleFunc.js b/lib/internal/consoleFunc.js
index fd8130d..ee4f1f1 100644
--- a/lib/internal/consoleFunc.js
+++ b/lib/internal/consoleFunc.js
@@ -1,5 +1,3 @@
-'use strict';
-
import arrayEach from 'lodash/_arrayEach';
import rest from 'lodash/rest';
diff --git a/lib/internal/doLimit.js b/lib/internal/doLimit.js
index 61a609f..7d2f111 100644
--- a/lib/internal/doLimit.js
+++ b/lib/internal/doLimit.js
@@ -1,5 +1,3 @@
-'use strict';
-
export default function doLimit(fn, limit) {
return function (iterable, iteratee, callback) {
return fn(iterable, limit, iteratee, callback);
diff --git a/lib/internal/doParallel.js b/lib/internal/doParallel.js
index 0d08bae..d436208 100644
--- a/lib/internal/doParallel.js
+++ b/lib/internal/doParallel.js
@@ -1,5 +1,3 @@
-'use strict';
-
import eachOf from '../eachOf';
export default function doParallel(fn) {
diff --git a/lib/internal/doParallelLimit.js b/lib/internal/doParallelLimit.js
index 3f17510..b29da51 100644
--- a/lib/internal/doParallelLimit.js
+++ b/lib/internal/doParallelLimit.js
@@ -1,5 +1,3 @@
-'use strict';
-
import eachOfLimit from './eachOfLimit';
export default function doParallelLimit(fn) {
diff --git a/lib/internal/doSeries.js b/lib/internal/doSeries.js
index 0a0f3bd..96e21ca 100644
--- a/lib/internal/doSeries.js
+++ b/lib/internal/doSeries.js
@@ -1,5 +1,3 @@
-'use strict';
-
import eachOfSeries from '../eachOfSeries';
export default function doSeries(fn) {
diff --git a/lib/internal/eachOfLimit.js b/lib/internal/eachOfLimit.js
index b5ed217..15dba57 100644
--- a/lib/internal/eachOfLimit.js
+++ b/lib/internal/eachOfLimit.js
@@ -1,5 +1,3 @@
-'use strict';
-
import noop from 'lodash/noop';
import once from './once';
diff --git a/lib/internal/filter.js b/lib/internal/filter.js
index a8c883b..aa5580c 100644
--- a/lib/internal/filter.js
+++ b/lib/internal/filter.js
@@ -1,5 +1,3 @@
-'use strict';
-
import arrayMap from 'lodash/_arrayMap';
import property from 'lodash/_baseProperty';
diff --git a/lib/internal/findGetResult.js b/lib/internal/findGetResult.js
index 3aeb07d..7345df6 100644
--- a/lib/internal/findGetResult.js
+++ b/lib/internal/findGetResult.js
@@ -1,5 +1,3 @@
-'use strict';
-
export default function _findGetResult(v, x) {
return x;
}
diff --git a/lib/internal/iterator.js b/lib/internal/iterator.js
index 8b233e1..645dcbd 100644
--- a/lib/internal/iterator.js
+++ b/lib/internal/iterator.js
@@ -1,5 +1,3 @@
-'use strict';
-
import isArrayLike from 'lodash/isArrayLike';
import getIterator from './getIterator';
import keys from 'lodash/keys';
diff --git a/lib/internal/map.js b/lib/internal/map.js
index 959138d..45c3eae 100644
--- a/lib/internal/map.js
+++ b/lib/internal/map.js
@@ -1,5 +1,3 @@
-'use strict';
-
import isArrayLike from 'lodash/isArrayLike';
import getIterator from './getIterator';
import noop from 'lodash/noop';
diff --git a/lib/internal/notId.js b/lib/internal/notId.js
index d936aab..65a676e 100644
--- a/lib/internal/notId.js
+++ b/lib/internal/notId.js
@@ -1,5 +1,3 @@
-'use strict';
-
export default function notId(v) {
return !v;
}
diff --git a/lib/internal/onlyOnce.js b/lib/internal/onlyOnce.js
index 355ff41..bb1979a 100644
--- a/lib/internal/onlyOnce.js
+++ b/lib/internal/onlyOnce.js
@@ -1,5 +1,3 @@
-'use strict';
-
export default function onlyOnce(fn) {
return function() {
if (fn === null) throw new Error("Callback was already called.");
diff --git a/lib/internal/parallel.js b/lib/internal/parallel.js
index 52b0303..f835365 100644
--- a/lib/internal/parallel.js
+++ b/lib/internal/parallel.js
@@ -1,5 +1,3 @@
-'use strict';
-
import noop from 'lodash/noop';
import isArrayLike from 'lodash/isArrayLike';
import rest from 'lodash/rest';
diff --git a/lib/internal/queue.js b/lib/internal/queue.js
index 9a1f77f..678cee1 100644
--- a/lib/internal/queue.js
+++ b/lib/internal/queue.js
@@ -1,5 +1,3 @@
-'use strict';
-
import arrayEach from 'lodash/_arrayEach';
import arrayMap from 'lodash/_arrayMap';
import isArray from 'lodash/isArray';
diff --git a/lib/internal/reject.js b/lib/internal/reject.js
index 4a22a4e..b6d7343 100644
--- a/lib/internal/reject.js
+++ b/lib/internal/reject.js
@@ -1,5 +1,3 @@
-'use strict';
-
import filter from './filter';
export default function reject(eachfn, arr, iteratee, callback) {
diff --git a/lib/internal/withoutIndex.js b/lib/internal/withoutIndex.js
index 8cfbfa6..2d70dd4 100644
--- a/lib/internal/withoutIndex.js
+++ b/lib/internal/withoutIndex.js
@@ -1,5 +1,3 @@
-'use strict';
-
export default function _withoutIndex(iteratee) {
return function (value, index, callback) {
return iteratee(value, callback);