Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/DOM/Node/Document.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,19 +87,19 @@ createDocumentFragment :: forall eff. Document -> Eff (dom :: DOM | eff) Documen
#### `createTextNode`

``` purescript
createTextNode :: forall eff. String -> Eff (dom :: DOM | eff) Text
createTextNode :: forall eff. String -> Document -> Eff (dom :: DOM | eff) Text
```

#### `createComment`

``` purescript
createComment :: forall eff. String -> Eff (dom :: DOM | eff) Comment
createComment :: forall eff. String -> Document -> Eff (dom :: DOM | eff) Comment
```

#### `createProcessingInstruction`

``` purescript
createProcessingInstruction :: forall eff. String -> String -> Eff (dom :: DOM | eff) ProcessingInstruction
createProcessingInstruction :: forall eff. String -> String -> Document -> Eff (dom :: DOM | eff) ProcessingInstruction
```

#### `importNode`
Expand Down
6 changes: 3 additions & 3 deletions src/DOM/Node/Document.purs
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ foreign import getElementsByClassName :: forall eff. String -> Document -> Eff (
foreign import createElement :: forall eff. String -> Document -> Eff (dom :: DOM | eff) Element
foreign import createElementNS :: forall eff. Nullable String -> String -> Document -> Eff (dom :: DOM | eff) Element
foreign import createDocumentFragment :: forall eff. Document -> Eff (dom :: DOM | eff) DocumentFragment
foreign import createTextNode :: forall eff. String -> Eff (dom :: DOM | eff) Text
foreign import createComment :: forall eff. String -> Eff (dom :: DOM | eff) Comment
foreign import createProcessingInstruction :: forall eff. String -> String -> Eff (dom :: DOM | eff) ProcessingInstruction
foreign import createTextNode :: forall eff. String -> Document -> Eff (dom :: DOM | eff) Text
foreign import createComment :: forall eff. String -> Document -> Eff (dom :: DOM | eff) Comment
foreign import createProcessingInstruction :: forall eff. String -> String -> Document -> Eff (dom :: DOM | eff) ProcessingInstruction

foreign import importNode :: forall eff. Node -> Boolean -> Document -> Eff (dom :: DOM | eff) Node
foreign import adoptNode :: forall eff. Node -> Document -> Eff (dom :: DOM | eff) Node