WIP: Note editing, markdown to html
[oweals/karmaworld.git] / karmaworld / apps / wysihtml5 / static / wysihtml5 / wysihtml-0.4.17 / src / wysihtml5.js
1 /**
2  * @license wysihtml5x v@VERSION
3  * https://github.com/Edicy/wysihtml5
4  *
5  * Author: Christopher Blum (https://github.com/tiff)
6  * Secondary author of extended features: Oliver Pulges (https://github.com/pulges)
7  *
8  * Copyright (C) 2012 XING AG
9  * Licensed under the MIT license (MIT)
10  *
11  */
12 var wysihtml5 = {
13   version: "@VERSION",
14
15   // namespaces
16   commands:   {},
17   dom:        {},
18   quirks:     {},
19   toolbar:    {},
20   lang:       {},
21   selection:  {},
22   views:      {},
23
24   INVISIBLE_SPACE: "\uFEFF",
25   INVISIBLE_SPACE_REG_EXP: /\uFEFF/g,
26
27   EMPTY_FUNCTION: function() {},
28
29   ELEMENT_NODE: 1,
30   TEXT_NODE:    3,
31
32   BACKSPACE_KEY:  8,
33   ENTER_KEY:      13,
34   ESCAPE_KEY:     27,
35   SPACE_KEY:      32,
36   TAB_KEY:        9,
37   DELETE_KEY:     46
38 };