Skip to content

Commit ab06ee6

Browse files
ntilwallijvanbruegge
authored andcommitted
fix(makeSortable): selectionDelay but and CSS style issues for updateEvent and parentSelector examples (#17)
1 parent fc327ea commit ab06ee6

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

examples/parentSelector/css/main.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ body {
1313

1414
ul {
1515
margin: 0;
16+
position: relative;
1617
}
1718

1819
li {

examples/updateEvent/css/main.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ body {
1313

1414
ul {
1515
margin: 0;
16+
position: relative;
1617
}
1718

1819
li {

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"devDependencies": {
4949
"@cycle/dom": "^16.0.0",
5050
"@cycle/rxjs-run": "^7.0.0",
51+
"@types/handlebars": "^4.0.33",
5152
"browserify": "^14.1.0",
5253
"cp-cli": "^1.0.2",
5354
"husky": "^0.14.3",
@@ -57,6 +58,6 @@
5758
"rimraf": "^2.6.1",
5859
"rxjs": "^5.2.0",
5960
"typedoc": "^0.5.9",
60-
"typescript": "^2.2.1"
61+
"typescript": "2.3.4"
6162
}
6263
}

src/makeSortable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export function makeSortable<T>(
105105
.map(ev =>
106106
xs
107107
.of(ev)
108-
.compose(delay(options.selectionDelay))
108+
.compose(delay(defaults.selectionDelay))
109109
.endWhen(xs.merge(up$, move$))
110110
)
111111
.flatten() as Stream<MouseEvent>;

0 commit comments

Comments
 (0)