summary refs log tree commit diff stats
path: root/lib/core
diff options
context:
space:
mode:
authorMiran <narimiran@disroot.org>2020-01-16 14:14:03 +0100
committerAndreas Rumpf <rumpf_a@web.de>2020-01-16 14:14:03 +0100
commit352232e62dea88191339af3aaa943cb93fb4db02 (patch)
tree725293f5344928422115a1cf358c8f3b2cf0d1b5 /lib/core
parent54bfd69a27db6015e4eb7ed0b57b01b7924be2f6 (diff)
downloadNim-352232e62dea88191339af3aaa943cb93fb4db02.tar.gz
style fix: change 'JS' to 'js' to make it consistent (#13168)
Diffstat (limited to 'lib/core')
-rw-r--r--lib/core/hotcodereloading.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/core/hotcodereloading.nim b/lib/core/hotcodereloading.nim
index 7458b3996..73f38402d 100644
--- a/lib/core/hotcodereloading.nim
+++ b/lib/core/hotcodereloading.nim
@@ -26,7 +26,7 @@ when defined(hotcodereloading):
 
   proc hasAnyModuleChanged*(): bool = hcrReloadNeeded()
 
-  when not defined(JS):
+  when not defined(js):
     template performCodeReload* =
       when isMainModule:
         {.warning: "Code residing in the main module will not be changed from calling a code-reload".}