Skip to content

Commit 6ee793a

Browse files
itfbrendandahl
andcommitted
nit fix indentation
apply code review suggestions Co-authored-by: Brendan Dahl <[email protected]>
1 parent 98db871 commit 6ee793a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/embind/embind_shared.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ var LibraryEmbindShared = {
129129
signature = signature.trim();
130130
const argsIndex = signature.indexOf("(");
131131
if (argsIndex !== -1) {
132-
#if ASSERTIONS
132+
#if ASSERTIONS
133133
assert(signature[signature.length - 1] == ")", "Parentheses for argument names should match.");
134-
#endif
134+
#endif
135135
return signature.substr(0, argsIndex);
136136
} else {
137137
return signature;
@@ -142,9 +142,9 @@ var LibraryEmbindShared = {
142142
signature = signature.trim();
143143
const argsIndex = signature.indexOf("(") + 1;
144144
if (argsIndex !== 0) {
145-
#if ASSERTIONS
145+
#if ASSERTIONS
146146
assert(signature[signature.length - 1] == ")", "Parentheses for argument names should match.");
147-
#endif
147+
#endif
148148
return signature.substr(argsIndex, signature.length - argsIndex - 1).replaceAll(" ", "").split(",").filter(n => n.length);
149149
} else {
150150
return [];

0 commit comments

Comments
 (0)