From f8c68524e77f653d4912b703d07d110b09ddf089 Mon Sep 17 00:00:00 2001 From: Maddie Mackey Date: Fri, 21 Jan 2022 15:52:12 +1100 Subject: [PATCH 1/2] Add target parameter to serializeFragment documentation --- src/to_dom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/to_dom.js b/src/to_dom.js index 4e617f0..d0a5e71 100644 --- a/src/to_dom.js +++ b/src/to_dom.js @@ -36,7 +36,7 @@ export class DOMSerializer { this.marks = marks || {} } - // :: (Fragment, ?Object) → dom.DocumentFragment + // :: (Fragment, ?Object, dom.DocumentFragment) → dom.DocumentFragment // Serialize the content of this fragment to a DOM fragment. When // not in the browser, the `document` option, containing a DOM // document, should be passed so that the serializer can create From 2a348ef1f1bc53b2fdbe83982ba6c51da63dc44f Mon Sep 17 00:00:00 2001 From: Maddie Mackey Date: Mon, 24 Jan 2022 14:23:17 +1100 Subject: [PATCH 2/2] Update target type --- src/to_dom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/to_dom.js b/src/to_dom.js index d0a5e71..b545c96 100644 --- a/src/to_dom.js +++ b/src/to_dom.js @@ -36,7 +36,7 @@ export class DOMSerializer { this.marks = marks || {} } - // :: (Fragment, ?Object, dom.DocumentFragment) → dom.DocumentFragment + // :: (Fragment, ?Object, ?dom.Node) → dom.DocumentFragment // Serialize the content of this fragment to a DOM fragment. When // not in the browser, the `document` option, containing a DOM // document, should be passed so that the serializer can create