« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/html.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/html.js')
-rw-r--r--src/html.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/html.js b/src/html.js
index b95d00e1..42083845 100644
--- a/src/html.js
+++ b/src/html.js
@@ -286,7 +286,11 @@ export const validators = {
   },
 };
 
-export function blank() {
+export function blank(...args) {
+  if (args.length) {
+    throw new Error(`Passed arguments - did you mean isBlank() instead?`)
+  }
+
   return [];
 }