summaryrefslogtreecommitdiff
path: root/src/client/consts.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/consts.js')
-rw-r--r--src/client/consts.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/consts.js b/src/client/consts.js
index b20ce9ce..83bf5728 100644
--- a/src/client/consts.js
+++ b/src/client/consts.js
@@ -19,6 +19,9 @@ define(function() {
description: description,
NEW_NODE_NAME: 'new node',
+ // Our database cannot encode zero length names, so we never (unless, bug) send those
+ EMPTY_LINK_NAME: 'untitled',
+
// Virtual Keycodes i.e. event.keyCode / event.key
// https://dvcs.w3.org/hg/dom3events/raw-file/tip/html/DOM3-Events.html#keys-keyvalues
VK_UP: 38,