Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.

Commit b4946c2

Browse files
committed
Merge pull request #31 from beckyconning/navigator
Added navigator and platform
2 parents 5142e00 + c2260ee commit b4946c2

File tree

9 files changed

+90
-67
lines changed

9 files changed

+90
-67
lines changed

docs/DOM/Event/Event.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ The integer value for the current event phase.
4444
#### `stopPropagation`
4545

4646
``` purescript
47-
stopPropagation :: Event -> Eff (dom :: DOM) Unit
47+
stopPropagation :: forall eff. Event -> Eff (dom :: DOM | eff) Unit
4848
```
4949

5050
Prevents the event from bubbling up to futher event listeners. Other event
@@ -53,7 +53,7 @@ listeners on the current target will still fire.
5353
#### `stopImmediatePropagation`
5454

5555
``` purescript
56-
stopImmediatePropagation :: Event -> Eff (dom :: DOM) Unit
56+
stopImmediatePropagation :: forall eff. Event -> Eff (dom :: DOM | eff) Unit
5757
```
5858

5959
Prevents all other listeners for the event from being called. This includes
@@ -78,7 +78,7 @@ Indicates whether the event can be cancelled.
7878
#### `preventDefault`
7979

8080
``` purescript
81-
preventDefault :: Event -> Eff (dom :: DOM) Unit
81+
preventDefault :: forall eff. Event -> Eff (dom :: DOM | eff) Unit
8282
```
8383

8484
Cancels the event if it can be cancelled.

docs/DOM/Event/EventPhase.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ data EventPhase
1212

1313
##### Instances
1414
``` purescript
15-
instance eqEventPhase :: Eq EventPhase
16-
instance ordEventPhase :: Ord EventPhase
17-
instance boundedEventPhase :: Bounded EventPhase
18-
instance boundedOrdEventPhase :: BoundedOrd EventPhase
19-
instance enumEventPhase :: Enum EventPhase
15+
Eq EventPhase
16+
Ord EventPhase
17+
Bounded EventPhase
18+
BoundedOrd EventPhase
19+
Enum EventPhase
2020
```
2121

2222

0 commit comments

Comments
 (0)