Skip to content

Commit 0c84f19

Browse files
committedDec 8, 2021
Added .editorconfig file
1 parent ee20708 commit 0c84f19

File tree

2 files changed

+22
-9
lines changed

2 files changed

+22
-9
lines changed
 

‎.editorconfig

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# top-most EditorConfig file
2+
root = true
3+
4+
[*]
5+
insert_final_newline = false
6+
indent_style = space
7+
indent_size = 2
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
end_of_line = lf

‎tests/Webapi/Dom/Webapi__Dom__MutationObserver__test.res

+12-9
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,17 @@ open MutationObserver
44
let el = document->Document.createElement("strong")
55
let observer: t = MutationObserver.make((_records, _observer) => ())
66

7-
let _ = observer->MutationObserver.observe(el, {
8-
"subtree": true,
9-
"childList": true,
10-
"attributes": true,
11-
"attributeOldValue": true,
12-
"characterData": true,
13-
"characterDataOldValue": true,
14-
})
7+
let _ = observer->MutationObserver.observe(
8+
el,
9+
{
10+
"subtree": true,
11+
"childList": true,
12+
"attributes": true,
13+
"attributeOldValue": true,
14+
"characterData": true,
15+
"characterDataOldValue": true,
16+
},
17+
)
1518

1619
let _ = observer->MutationObserver.disconnect
1720
let records: array<Dom.mutationRecord> = observer->MutationObserver.takeRecords
@@ -28,4 +31,4 @@ let recordPrevSibling: option<Dom.node> = aRecord->previousSibling
2831
let recordNextSibling: option<Dom.node> = aRecord->nextSibling
2932
let recordAttributeName: option<string> = aRecord->attributeName
3033
let recordAttributeNamespace: option<string> = aRecord->attributeNamespace
31-
let recordOldValue: option<string> = aRecord->oldValue
34+
let recordOldValue: option<string> = aRecord->oldValue

0 commit comments

Comments
 (0)