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

Commit 52bfe8f

Browse files
authored
Merge pull request #128 from jacereda/fix-open
Fix argument names for open
2 parents 8b703ee + 64933c5 commit 52bfe8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DOM/HTML/Window.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ foreign import moveBy :: forall eff. Int -> Int -> Window -> Eff (window :: WIND
6666
foreign import moveTo :: forall eff. Int -> Int -> Window -> Eff (window :: WINDOW | eff) Unit
6767

6868
open :: forall eff. String -> String -> String -> Window -> Eff (window :: WINDOW | eff) (Maybe Window)
69-
open window url' name features = toMaybe <$> _open window url' name features
69+
open url' name features window = toMaybe <$> _open url' name features window
7070

7171
foreign import _open
7272
:: forall eff

0 commit comments

Comments
 (0)