Skip to content
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion src/CSSFontLoadingAPI/FontFace.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open CSSFontLoadingAPI
open CSSFontLoadingTypes

/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/FontFace)
Expand Down
2 changes: 1 addition & 1 deletion src/CSSFontLoadingAPI/FontFaceSet.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open CSSFontLoadingAPI
open CSSFontLoadingTypes

include EventTarget.Impl({type t = fontFaceSet})

Expand Down
2 changes: 1 addition & 1 deletion src/CSSFontLoadingAPI.res → src/CSSFontLoadingTypes.res
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@@warning("-30")

open EventAPI
open EventTypes

type fontDisplay =
| @as("auto") Auto
Expand Down
2 changes: 1 addition & 1 deletion src/CanvasAPI/CanvasGradient.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open CanvasAPI
open CanvasTypes

/**
Adds a color stop with the given color to the gradient at the given offset. 0.0 is the offset at one end of the gradient, 1.0 is the offset at the other end.
Expand Down
4 changes: 2 additions & 2 deletions src/CanvasAPI/CanvasPattern.res
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
open DOMAPI
open CanvasAPI
open DOMTypes
open CanvasTypes

/**
Sets the transformation matrix that will be used when rendering the pattern during a fill or stroke painting operation.
Expand Down
2 changes: 1 addition & 1 deletion src/CanvasAPI/FillStyle.res
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
open Prelude
open CanvasAPI
open CanvasTypes

external fromString: string => fillStyle = "%identity"
external fromCanvasGradient: canvasGradient => fillStyle = "%identity"
Expand Down
2 changes: 1 addition & 1 deletion src/CanvasAPI/ImageBitmap.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open CanvasAPI
open CanvasTypes

/**
Releases imageBitmap's underlying bitmap data.
Expand Down
2 changes: 1 addition & 1 deletion src/CanvasAPI/ImageBitmapRenderingContext.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open CanvasAPI
open CanvasTypes

/**
Transfers the underlying bitmap data from imageBitmap to context, and the bitmap becomes the contents of the canvas element to which context is bound.
Expand Down
4 changes: 2 additions & 2 deletions src/CanvasAPI/OffscreenCanvas.res
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
open CanvasAPI
open FileAPI
open CanvasTypes
open FileTypes

/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas)
Expand Down
4 changes: 2 additions & 2 deletions src/CanvasAPI/Path2D.res
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
open CanvasAPI
open DOMAPI
open CanvasTypes
open DOMTypes

/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Path2D)
Expand Down
2 changes: 1 addition & 1 deletion src/CanvasAPI.res → src/CanvasTypes.res
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@@warning("-30")

open Prelude
open EventAPI
open EventTypes

type offscreenRenderingContextId =
| @as("2d") V2d
Expand Down
2 changes: 1 addition & 1 deletion src/ChannelMessagingAPI/MessagePort.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open ChannelMessagingAPI
open ChannelMessagingTypes

include EventTarget.Impl({type t = messagePort})

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@@warning("-30")

open EventAPI
open EventTypes

/**
This Channel Messaging API interface represents one of the two ports of a MessageChannel, allowing messages to be sent from one port and listening out for them arriving at the other.
Expand Down
2 changes: 1 addition & 1 deletion src/ClipboardAPI/Clipboard.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open ClipboardAPI
open ClipboardTypes

include EventTarget.Impl({type t = clipboard})

Expand Down
4 changes: 2 additions & 2 deletions src/ClipboardAPI/ClipboardItem.res
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
open FileAPI
open ClipboardAPI
open FileTypes
open ClipboardTypes
open Prelude

/**
Expand Down
2 changes: 1 addition & 1 deletion src/ClipboardAPI.res → src/ClipboardTypes.res
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@@warning("-30")

open EventAPI
open EventTypes

type presentationStyle =
| @as("attachment") Attachment
Expand Down
2 changes: 1 addition & 1 deletion src/CredentialManagementAPI/CredentialsContainer.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open CredentialManagementAPI
open CredentialManagementTypes

/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/CredentialsContainer/get)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@@warning("-30")

open Prelude
open EventAPI
open EventTypes

type authenticatorTransport =
| @as("ble") Ble
Expand Down
2 changes: 1 addition & 1 deletion src/DOMAPI/Animation.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open DOMAPI
open DOMTypes

/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Animation)
Expand Down
2 changes: 1 addition & 1 deletion src/DOMAPI/AnimationEffect.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open DOMAPI
open DOMTypes

/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/AnimationEffect/getTiming)
Expand Down
2 changes: 1 addition & 1 deletion src/DOMAPI/CSSRuleList.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open DOMAPI
open DOMTypes

/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/CSSRuleList/item)
Expand Down
2 changes: 1 addition & 1 deletion src/DOMAPI/CSSStyleDeclaration.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open DOMAPI
open DOMTypes

/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/item)
Expand Down
2 changes: 1 addition & 1 deletion src/DOMAPI/CSSStyleSheet.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open DOMAPI
open DOMTypes

/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/CSSStyleSheet)
Expand Down
2 changes: 1 addition & 1 deletion src/DOMAPI/CSSStyleValue.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open DOMAPI
open DOMTypes

/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/CSSStyleValue/parse_static)
Expand Down
4 changes: 2 additions & 2 deletions src/DOMAPI/CanvasRenderingContext2D.res
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
open DOMAPI
open CanvasAPI
open DOMTypes
open CanvasTypes

/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/save)
Expand Down
2 changes: 1 addition & 1 deletion src/DOMAPI/CaretPosition.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open DOMAPI
open DOMTypes

@send
external getClientRect: caretPosition => domRect = "getClientRect"
2 changes: 1 addition & 1 deletion src/DOMAPI/CharacterData.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open DOMAPI
open DOMTypes

module Impl = (
T: {
Expand Down
2 changes: 1 addition & 1 deletion src/DOMAPI/Comment.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open DOMAPI
open DOMTypes

include CharacterData.Impl({type t = comment})

Expand Down
2 changes: 1 addition & 1 deletion src/DOMAPI/CustomElementRegistry.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open DOMAPI
open DOMTypes

/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/define)
Expand Down
2 changes: 1 addition & 1 deletion src/DOMAPI/DOMImplementation.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open DOMAPI
open DOMTypes

/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/DOMImplementation/createDocumentType)
Expand Down
2 changes: 1 addition & 1 deletion src/DOMAPI/DOMMatrix.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open DOMAPI
open DOMTypes
open Prelude

/**
Expand Down
2 changes: 1 addition & 1 deletion src/DOMAPI/DOMMatrixReadOnly.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open DOMAPI
open DOMTypes
open Prelude

/**
Expand Down
2 changes: 1 addition & 1 deletion src/DOMAPI/DOMPoint.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open DOMAPI
open DOMTypes

/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/DOMPoint)
Expand Down
2 changes: 1 addition & 1 deletion src/DOMAPI/DOMPointReadOnly.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open DOMAPI
open DOMTypes

/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly)
Expand Down
2 changes: 1 addition & 1 deletion src/DOMAPI/DOMRect.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open DOMAPI
open DOMTypes

/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/DOMRect)
Expand Down
2 changes: 1 addition & 1 deletion src/DOMAPI/DOMRectList.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open DOMAPI
open DOMTypes

@send
external item: (domRectList, int) => domRect = "item"
2 changes: 1 addition & 1 deletion src/DOMAPI/DOMRectReadOnly.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open DOMAPI
open DOMTypes

/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly)
Expand Down
2 changes: 1 addition & 1 deletion src/DOMAPI/DOMTokenList.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open DOMAPI
open DOMTypes

/**
Returns the token with index index.
Expand Down
6 changes: 3 additions & 3 deletions src/DOMAPI/Document.res
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
open DOMAPI
open EventAPI
open ViewTransitionsAPI
open DOMTypes
open EventTypes
open ViewTransitionsTypes

/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Document)
Expand Down
2 changes: 1 addition & 1 deletion src/DOMAPI/DocumentFragment.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open DOMAPI
open DOMTypes

/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/DocumentFragmentFragment)
Expand Down
2 changes: 1 addition & 1 deletion src/DOMAPI/DocumentTimeline.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open DOMAPI
open DOMTypes

/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/DocumentTimeline)
Expand Down
4 changes: 2 additions & 2 deletions src/DOMAPI/Element.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open DOMAPI
open DOMTypes
open Prelude

module Impl = (
Expand Down Expand Up @@ -419,7 +419,7 @@ element->Element.scrollIntoView_alignToTop()
Scrolls the element's ancestor containers such that the element on which scrollIntoView() is called is visible to the user.

```res
element->Element.scrollIntoViewWithOptions({ behavior: DOMAPI.Smooth })
element->Element.scrollIntoViewWithOptions({ behavior: DOMTypes.Smooth })
```

[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollIntoView)
Expand Down
2 changes: 1 addition & 1 deletion src/DOMAPI/ElementInternals.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open DOMAPI
open DOMTypes

/**
Sets both the state and submission value of internals's target element to value.
Expand Down
4 changes: 2 additions & 2 deletions src/DOMAPI/FileList.res
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
open FileAPI
open DOMAPI
open FileTypes
open DOMTypes

/**
Returns the `File` at the specified index.
Expand Down
2 changes: 1 addition & 1 deletion src/DOMAPI/HTMLAnchorElement.res
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
open DOMAPI
open DOMTypes

include HTMLElement.Impl({type t = htmlAnchorElement})
2 changes: 1 addition & 1 deletion src/DOMAPI/HTMLAreaElement.res
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
open DOMAPI
open DOMTypes

include HTMLElement.Impl({type t = htmlAreaElement})
2 changes: 1 addition & 1 deletion src/DOMAPI/HTMLAudioElement.res
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
open DOMAPI
open DOMTypes

include HTMLMediaElement.Impl({type t = htmlAudioElement})
2 changes: 1 addition & 1 deletion src/DOMAPI/HTMLBRElement.res
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
open DOMAPI
open DOMTypes

include HTMLElement.Impl({type t = htmlbrElement})
2 changes: 1 addition & 1 deletion src/DOMAPI/HTMLBaseElement.res
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
open DOMAPI
open DOMTypes

include HTMLElement.Impl({type t = htmlBaseElement})
2 changes: 1 addition & 1 deletion src/DOMAPI/HTMLBodyElement.res
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
open DOMAPI
open DOMTypes

include HTMLElement.Impl({type t = htmlBodyElement})
2 changes: 1 addition & 1 deletion src/DOMAPI/HTMLButtonElement.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open DOMAPI
open DOMTypes

include HTMLElement.Impl({type t = htmlButtonElement})

Expand Down
6 changes: 3 additions & 3 deletions src/DOMAPI/HTMLCanvasElement.res
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
open DOMAPI
open CanvasAPI
open MediaCaptureAndStreamsAPI
open DOMTypes
open CanvasTypes
open MediaCaptureAndStreamsTypes

include HTMLElement.Impl({type t = htmlCanvasElement})

Expand Down
2 changes: 1 addition & 1 deletion src/DOMAPI/HTMLCollection.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open DOMAPI
open DOMTypes

/**
Retrieves an object from various collections.
Expand Down
2 changes: 1 addition & 1 deletion src/DOMAPI/HTMLDListElement.res
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
open DOMAPI
open DOMTypes

include HTMLElement.Impl({type t = htmldListElement})
2 changes: 1 addition & 1 deletion src/DOMAPI/HTMLDataElement.res
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
open DOMAPI
open DOMTypes

include HTMLElement.Impl({type t = htmlDataElement})
2 changes: 1 addition & 1 deletion src/DOMAPI/HTMLDataListElement.res
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
open DOMAPI
open DOMTypes

include HTMLElement.Impl({type t = htmlDataListElement})
2 changes: 1 addition & 1 deletion src/DOMAPI/HTMLDialogElement.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open DOMAPI
open DOMTypes

include HTMLElement.Impl({type t = htmlDialogElement})

Expand Down
2 changes: 1 addition & 1 deletion src/DOMAPI/HTMLDivElement.res
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
open DOMAPI
open DOMTypes

include HTMLElement.Impl({type t = htmlDivElement})
2 changes: 1 addition & 1 deletion src/DOMAPI/HTMLElement.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open DOMAPI
open DOMTypes

module Impl = (
T: {
Expand Down
2 changes: 1 addition & 1 deletion src/DOMAPI/HTMLEmbedElement.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open DOMAPI
open DOMTypes

include HTMLElement.Impl({type t = htmlEmbedElement})

Expand Down
2 changes: 1 addition & 1 deletion src/DOMAPI/HTMLFieldSetElement.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open DOMAPI
open DOMTypes

include HTMLElement.Impl({type t = htmlFieldSetElement})

Expand Down
Loading