From 42a669dfb96ebd700fd4782d7b673022533b37f7 Mon Sep 17 00:00:00 2001 From: DeuceX Date: Thu, 24 Mar 2016 12:32:28 +0200 Subject: [PATCH] WIP: Can't get coverage --- .idea/jsLibraryMappings.xml | 6 + ...stack_overflow_copy_paste_node_modules.xml | 14 + .idea/modules.xml | 8 + .idea/stack-overflow-copy-paste.iml | 9 + .idea/vcs.xml | 6 + .idea/workspace.xml | 270 ++++++++++++++++++ src/flatten.js | 1 + 7 files changed, 314 insertions(+) create mode 100644 .idea/jsLibraryMappings.xml create mode 100644 .idea/libraries/stack_overflow_copy_paste_node_modules.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/stack-overflow-copy-paste.iml create mode 100644 .idea/vcs.xml create mode 100644 .idea/workspace.xml diff --git a/.idea/jsLibraryMappings.xml b/.idea/jsLibraryMappings.xml new file mode 100644 index 00000000..114b52f2 --- /dev/null +++ b/.idea/jsLibraryMappings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/libraries/stack_overflow_copy_paste_node_modules.xml b/.idea/libraries/stack_overflow_copy_paste_node_modules.xml new file mode 100644 index 00000000..6035b72a --- /dev/null +++ b/.idea/libraries/stack_overflow_copy_paste_node_modules.xml @@ -0,0 +1,14 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 00000000..5e5de6a2 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/stack-overflow-copy-paste.iml b/.idea/stack-overflow-copy-paste.iml new file mode 100644 index 00000000..cb13aaab --- /dev/null +++ b/.idea/stack-overflow-copy-paste.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 00000000..94a25f7f --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 00000000..36a671f9 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,270 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1458812986899 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/flatten.js b/src/flatten.js index de052030..31327e12 100644 --- a/src/flatten.js +++ b/src/flatten.js @@ -11,5 +11,6 @@ export default flatten function flatten() { return [].slice.call(arguments).reduce(function flattenReducer(flat, toFlatten) { return flat.concat(Array.isArray(toFlatten) ? flatten.apply(null, toFlatten) : toFlatten) + }, []) }