RubyGems
npm
Organizations
Log in
Sign up
npm
deduplication
Versions diffs
1.0.2 → 1.0.4
deduplication 1.0.2 → 1.0.4
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
package/index.js
+2
-2
package/package.json
+1
-1
package/index.js
CHANGED
Viewed
@@ -6,10 +6,10 @@
6
6
function deduplication(arr,type=1) {
7
7
switch(type){
8
8
case 1:
9
-
method1(arr);
9
+
return
method1(arr);
10
10
break;
11
11
case 2:
12
-
method2(arr);
12
+
return
method2(arr);
13
13
break;
14
14
}
15
15
package/package.json
CHANGED
Viewed
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "deduplication",
3
-
"version": "1.0.
2
",
3
+
"version": "1.0.
4
",
4
4
"main": "index.js",
5
5
"repository": "",
6
6
"author": "henry",