summary refs log tree commit diff stats
path: root/lib/js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/js')
-rw-r--r--lib/js/jsffi.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/js/jsffi.nim b/lib/js/jsffi.nim
index 9fe934f89..15727c9f7 100644
--- a/lib/js/jsffi.nim
+++ b/lib/js/jsffi.nim
@@ -455,9 +455,9 @@ macro `{}`*(typ: typedesc, xs: varargs[untyped]): auto =
 # from a proc, `this` being the first argument.
 
 proc replaceSyms(n: NimNode): NimNode =
-  if n.kind == nnkSym: 
+  if n.kind == nnkSym:
     result = newIdentNode($n)
-  else: 
+  else:
     result = n
     for i in 0..<n.len:
       result[i] = replaceSyms(n[i])