Skip to content

Commit 5c7a08e

Browse files
committed
remove invalid characters
1 parent 56ddf29 commit 5c7a08e

File tree

1 file changed

+5
-5
lines changed
  • vnext/ReactCommon/TEMP_UntilReactCommonUpdate/react/nativemodule/dom

1 file changed

+5
-5
lines changed

vnext/ReactCommon/TEMP_UntilReactCommonUpdate/react/nativemodule/dom/NativeDOM.cpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ static bool isRootShadowNode(const ShadowNode& shadowNode) {
8181
NativeDOM::NativeDOM(std::shared_ptr<CallInvoker> jsInvoker)
8282
: NativeDOMCxxSpec(std::move(jsInvoker)) {}
8383

84-
#pragma mark - Methods from the `Node` interface (for `ReadOnlyNode`).
84+
#pragma mark - Methods from the Node interface (for ReadOnlyNode).
8585

8686
double NativeDOM::compareDocumentPosition(
8787
jsi::Runtime& rt,
@@ -108,7 +108,7 @@ double NativeDOM::compareDocumentPosition(
108108

109109
if (isRootShadowNode(*otherShadowNode)) {
110110
// If the other is a root node, we just need to check if it is its
111-
// `documentElement`
111+
// documentElement
112112
return (surfaceId == otherShadowNode->getSurfaceId())
113113
? dom::DOCUMENT_POSITION_CONTAINED_BY |
114114
dom::DOCUMENT_POSITION_FOLLOWING
@@ -204,7 +204,7 @@ bool NativeDOM::isConnected(jsi::Runtime& rt, jsi::Value nativeNodeReference) {
204204
return dom::isConnected(currentRevision, *shadowNode);
205205
}
206206

207-
#pragma mark - Methods from the `Element` interface (for `ReactNativeElement`).
207+
#pragma mark - Methods from the Element interface (for ReactNativeElement).
208208

209209
std::tuple<
210210
/* topWidth: */ int,
@@ -336,7 +336,7 @@ void NativeDOM::setPointerCapture(
336336
static_cast<PointerIdentifier>(pointerId), shadowNodeFromValue(rt, shadowNodeValue));
337337
}
338338

339-
#pragma mark - Methods from the `HTMLElement` interface (for `ReactNativeElement`).
339+
#pragma mark - Methods from the HTMLElement interface (for ReactNativeElement).
340340

341341
std::tuple<
342342
/* offsetParent: */ jsi::Value,
@@ -378,7 +378,7 @@ jsi::Value NativeDOM::linkRootNode(
378378
return valueFromShadowNode(rt, currentRevision);
379379
}
380380

381-
#pragma mark - Legacy layout APIs (for `ReactNativeElement`).
381+
#pragma mark - Legacy layout APIs (for ReactNativeElement).
382382

383383
void NativeDOM::measure(
384384
jsi::Runtime& rt,

0 commit comments

Comments
 (0)