Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit54f5a35

Browse files
committed
Merge branch 'dev'
2 parents80e8f3e +5598440 commit54f5a35

File tree

9 files changed

+10394
-3481
lines changed

9 files changed

+10394
-3481
lines changed

‎.gitignore‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ node_modules
22
.DS_Store
33
examples/
44
test/
5-
dist
5+
dist
6+
demo
7+
taskOrder.test.js
File renamed without changes.

‎config/rollup.config.dev.js‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
importlivereloadfrom'rollup-plugin-livereload'
2+
importservefrom'rollup-plugin-serve'
3+
importbabelfrom'rollup-plugin-babel'
4+
importhtmlfrom'@rollup/plugin-html'
5+
6+
exportdefault{
7+
input:'index.js',
8+
output:{
9+
file:'./demo/index.js',
10+
format:'umd',
11+
sourcemap:true,
12+
name:"async-task-mapping"
13+
},
14+
plugins:[
15+
babel({
16+
exclude:'node_modules/**'
17+
}),
18+
livereload(),
19+
serve({
20+
open :true,
21+
port :8888,
22+
contentBase:'demo',
23+
}),
24+
html({})
25+
]
26+
};

‎index.js‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
importFloodfrom"./task/flood"
2-
importBrookfrom"./task/brook"
3-
importTurbochargerfrom"./task/turbocharger"
1+
importUnorderedListfrom"./task/unorderedList"
2+
importOrderedListfrom"./task/orderedList"
3+
importTaskOrderfrom"./task/taskOrder"
44

55

66
constcreateTaskOrder=()=>{
7-
returnnewTurbocharger()
7+
returnnewTaskOrder()
88
}
99

1010
constcreateTaskList=({ requestCount, responseCount, ordered=true}={})=>{
11-
returnnew(ordered ?Brook :Flood)([requestCount||1,responseCount||1])
11+
returnnew(ordered ?OrderedList :UnorderedList)([requestCount||1,responseCount||1])
1212
}
1313

1414

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp