diff options
| author | Alon Levy <alon@pobox.com> | 2014-12-04 21:13:27 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-12-04 21:13:27 +0200 |
| commit | c16eb894ade649b0f1b2454e21e2a2bda2c0a384 (patch) | |
| tree | 23a89d4ea5d210b40c930d003c511c86cbea0d43 /src/consts.js | |
| parent | 8667f30230495b536ee208ca1e979ac345b3ce21 (diff) | |
move nodetypes to consts, add descriptions. Fixes #48
Diffstat (limited to 'src/consts.js')
| -rw-r--r-- | src/consts.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/consts.js b/src/consts.js index cfcdd1c2..4b21dc70 100644 --- a/src/consts.js +++ b/src/consts.js @@ -1,11 +1,25 @@ "use strict" define(function() { + + var nodetypes = ["person", "club", "skill", "interest", "third-internship-proposal", "internship"]; + + var description = { + person: 'Depict a person, real or fictional', + club: undefined, + skill: 'Depicts a specific ability of expertise a person can have', + interest: undefined, + 'third-internship-proposal': undefined, + internship: undefined, + }; + // 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, }; }); |
