From c16eb894ade649b0f1b2454e21e2a2bda2c0a384 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Thu, 4 Dec 2014 21:13:27 +0200 Subject: move nodetypes to consts, add descriptions. Fixes #48 --- src/consts.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/consts.js') 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, }; }); -- cgit v1.3.1