summaryrefslogtreecommitdiff
path: root/src/client/consts.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-12-16 17:37:42 +0200
committerAlon Levy <alon@pobox.com>2014-12-16 17:37:42 +0200
commitade19de410e0a789a921ec1666b278b2a64176d6 (patch)
treec4c54b106de93609ca7bb70a20fd4be696715dbe /src/client/consts.js
parentc7d026b1d504323a8c61d51b726e5e8d2337fc4b (diff)
moving files around after repository merger
Diffstat (limited to 'src/client/consts.js')
-rw-r--r--src/client/consts.js25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/client/consts.js b/src/client/consts.js
new file mode 100644
index 00000000..32167811
--- /dev/null
+++ b/src/client/consts.js
@@ -0,0 +1,25 @@
+"use strict"
+
+define(function() {
+
+ var nodetypes = ["person", "club", "skill", "interest", "third-internship-proposal", "internship"];
+
+ var description = {
+ person: 'A person in CRI - student or teacher',
+ club: 'A shared club or project within the CRI',
+ skill: 'Ability or expertise you possess',
+ interest: 'Scientific skill or domain expertise you wish you had',
+ 'third-internship-proposal': 'Create this to submit your third internship proposal',
+ internship: "Title of first or second internship you've done"
+ };
+
+ // TODO: enums, sometime
+ return {
+ KEYSTROKE_WHERE_EDIT_NODE: 'keystroke_where_edit_node',
+ KEYSTROKE_WHERE_DOCUMENT: 'keystroke_where_document',
+ KEYSTROKE_WHERE_TEXTANALYSIS: 'keystroke_where_textanalysis',
+ INPUT_WHERE_TEXTANALYSIS: 'input_where_textanalysis',
+ nodetypes: nodetypes,
+ description: description,
+ };
+});