datagram 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. data/.env.sample +7 -0
  2. data/.gitignore +20 -0
  3. data/.rbenv-version +1 -0
  4. data/Gemfile +12 -0
  5. data/LICENSE.txt +22 -0
  6. data/Procfile +1 -0
  7. data/README.md +29 -0
  8. data/Rakefile +1 -0
  9. data/config.ru +5 -0
  10. data/datagram.gemspec +23 -0
  11. data/db/migrate/1_create_queries.rb +9 -0
  12. data/db/migrate/2_add_name_to_queries.rb +5 -0
  13. data/lib/datagram/version.rb +3 -0
  14. data/lib/datagram.rb +135 -0
  15. data/lib/views/application.coffee +222 -0
  16. data/lib/views/index.haml +47 -0
  17. data/lib/views/layout.haml +17 -0
  18. data/lib/views/style.sass +179 -0
  19. data/public/ace/ace.js +15209 -0
  20. data/public/ace/ext-elastic_tabstops_lite.js +301 -0
  21. data/public/ace/ext-emmet.js +253 -0
  22. data/public/ace/ext-searchbox.js +441 -0
  23. data/public/ace/ext-spellcheck.js +67 -0
  24. data/public/ace/ext-static_highlight.js +96 -0
  25. data/public/ace/ext-textarea.js +492 -0
  26. data/public/ace/ext-whitespace.js +204 -0
  27. data/public/ace/keybinding-emacs.js +962 -0
  28. data/public/ace/keybinding-vim.js +1704 -0
  29. data/public/ace/mode-abap.js +260 -0
  30. data/public/ace/mode-asciidoc.js +372 -0
  31. data/public/ace/mode-c9search.js +182 -0
  32. data/public/ace/mode-c_cpp.js +737 -0
  33. data/public/ace/mode-clojure.js +299 -0
  34. data/public/ace/mode-coffee.js +426 -0
  35. data/public/ace/mode-coldfusion.js +1753 -0
  36. data/public/ace/mode-csharp.js +612 -0
  37. data/public/ace/mode-css.js +773 -0
  38. data/public/ace/mode-curly.js +1950 -0
  39. data/public/ace/mode-dart.js +945 -0
  40. data/public/ace/mode-diff.js +166 -0
  41. data/public/ace/mode-django.js +1969 -0
  42. data/public/ace/mode-dot.js +320 -0
  43. data/public/ace/mode-ftl.js +907 -0
  44. data/public/ace/mode-glsl.js +810 -0
  45. data/public/ace/mode-golang.js +632 -0
  46. data/public/ace/mode-groovy.js +1037 -0
  47. data/public/ace/mode-haml.js +487 -0
  48. data/public/ace/mode-haxe.js +609 -0
  49. data/public/ace/mode-html.js +1881 -0
  50. data/public/ace/mode-jade.js +1951 -0
  51. data/public/ace/mode-java.js +996 -0
  52. data/public/ace/mode-javascript.js +876 -0
  53. data/public/ace/mode-json.js +578 -0
  54. data/public/ace/mode-jsp.js +1351 -0
  55. data/public/ace/mode-jsx.js +635 -0
  56. data/public/ace/mode-latex.js +189 -0
  57. data/public/ace/mode-less.js +807 -0
  58. data/public/ace/mode-liquid.js +862 -0
  59. data/public/ace/mode-lisp.js +138 -0
  60. data/public/ace/mode-livescript.js +288 -0
  61. data/public/ace/mode-logiql.js +664 -0
  62. data/public/ace/mode-lsl.js +828 -0
  63. data/public/ace/mode-lua.js +455 -0
  64. data/public/ace/mode-luapage.js +2340 -0
  65. data/public/ace/mode-lucene.js +64 -0
  66. data/public/ace/mode-makefile.js +313 -0
  67. data/public/ace/mode-markdown.js +2280 -0
  68. data/public/ace/mode-mushcode.js +704 -0
  69. data/public/ace/mode-mushcode_high_rules.js +569 -0
  70. data/public/ace/mode-objectivec.js +659 -0
  71. data/public/ace/mode-ocaml.js +443 -0
  72. data/public/ace/mode-pascal.js +233 -0
  73. data/public/ace/mode-perl.js +316 -0
  74. data/public/ace/mode-pgsql.js +908 -0
  75. data/public/ace/mode-php.js +2291 -0
  76. data/public/ace/mode-powershell.js +618 -0
  77. data/public/ace/mode-python.js +264 -0
  78. data/public/ace/mode-r.js +404 -0
  79. data/public/ace/mode-rdoc.js +184 -0
  80. data/public/ace/mode-rhtml.js +2168 -0
  81. data/public/ace/mode-ruby.js +431 -0
  82. data/public/ace/mode-sass.js +442 -0
  83. data/public/ace/mode-scad.js +670 -0
  84. data/public/ace/mode-scala.js +1025 -0
  85. data/public/ace/mode-scheme.js +144 -0
  86. data/public/ace/mode-scss.js +832 -0
  87. data/public/ace/mode-sh.js +204 -0
  88. data/public/ace/mode-sql.js +118 -0
  89. data/public/ace/mode-stylus.js +483 -0
  90. data/public/ace/mode-svg.js +1442 -0
  91. data/public/ace/mode-tcl.js +319 -0
  92. data/public/ace/mode-tex.js +166 -0
  93. data/public/ace/mode-text.js +0 -0
  94. data/public/ace/mode-textile.js +170 -0
  95. data/public/ace/mode-tmsnippet.js +200 -0
  96. data/public/ace/mode-toml.js +180 -0
  97. data/public/ace/mode-typescript.js +961 -0
  98. data/public/ace/mode-vbscript.js +281 -0
  99. data/public/ace/mode-velocity.js +962 -0
  100. data/public/ace/mode-xml.js +789 -0
  101. data/public/ace/mode-xquery.js +2750 -0
  102. data/public/ace/mode-yaml.js +289 -0
  103. data/public/ace/theme-ambiance.js +202 -0
  104. data/public/ace/theme-chaos.js +182 -0
  105. data/public/ace/theme-chrome.js +161 -0
  106. data/public/ace/theme-clouds.js +135 -0
  107. data/public/ace/theme-clouds_midnight.js +136 -0
  108. data/public/ace/theme-cobalt.js +150 -0
  109. data/public/ace/theme-crimson_editor.js +154 -0
  110. data/public/ace/theme-dawn.js +146 -0
  111. data/public/ace/theme-dreamweaver.js +173 -0
  112. data/public/ace/theme-eclipse.js +122 -0
  113. data/public/ace/theme-github.js +136 -0
  114. data/public/ace/theme-idle_fingers.js +136 -0
  115. data/public/ace/theme-kr.js +143 -0
  116. data/public/ace/theme-merbivore.js +135 -0
  117. data/public/ace/theme-merbivore_soft.js +136 -0
  118. data/public/ace/theme-mono_industrial.js +148 -0
  119. data/public/ace/theme-monokai.js +140 -0
  120. data/public/ace/theme-pastel_on_dark.js +148 -0
  121. data/public/ace/theme-solarized_dark.js +128 -0
  122. data/public/ace/theme-solarized_light.js +131 -0
  123. data/public/ace/theme-terminal.js +154 -0
  124. data/public/ace/theme-textmate.js +0 -0
  125. data/public/ace/theme-tomorrow.js +147 -0
  126. data/public/ace/theme-tomorrow_night.js +147 -0
  127. data/public/ace/theme-tomorrow_night_blue.js +145 -0
  128. data/public/ace/theme-tomorrow_night_bright.js +147 -0
  129. data/public/ace/theme-tomorrow_night_eighties.js +144 -0
  130. data/public/ace/theme-twilight.js +147 -0
  131. data/public/ace/theme-vibrant_ink.js +131 -0
  132. data/public/ace/theme-xcode.js +125 -0
  133. data/public/ace/worker-coffee.js +7091 -0
  134. data/public/ace/worker-css.js +8289 -0
  135. data/public/ace/worker-javascript.js +6496 -0
  136. data/public/ace/worker-json.js +2305 -0
  137. data/public/ace/worker-lua.js +3313 -0
  138. data/public/ace/worker-php.js +6743 -0
  139. data/public/ace/worker-xquery.js +21897 -0
  140. data/public/font/FontAwesome.otf +0 -0
  141. data/public/font/fontawesome-webfont.eot +0 -0
  142. data/public/font/fontawesome-webfont.svg +284 -0
  143. data/public/font/fontawesome-webfont.ttf +0 -0
  144. data/public/font/fontawesome-webfont.woff +0 -0
  145. data/public/font-awesome.css +540 -0
  146. data/public/jquery.js +9597 -0
  147. data/script/migrate.sh +2 -0
  148. metadata +242 -0
@@ -0,0 +1,131 @@
1
+ /* ***** BEGIN LICENSE BLOCK *****
2
+ * Distributed under the BSD license:
3
+ *
4
+ * Copyright (c) 2010, Ajax.org B.V.
5
+ * All rights reserved.
6
+ *
7
+ * Redistribution and use in source and binary forms, with or without
8
+ * modification, are permitted provided that the following conditions are met:
9
+ * * Redistributions of source code must retain the above copyright
10
+ * notice, this list of conditions and the following disclaimer.
11
+ * * Redistributions in binary form must reproduce the above copyright
12
+ * notice, this list of conditions and the following disclaimer in the
13
+ * documentation and/or other materials provided with the distribution.
14
+ * * Neither the name of Ajax.org B.V. nor the
15
+ * names of its contributors may be used to endorse or promote products
16
+ * derived from this software without specific prior written permission.
17
+ *
18
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
+ * DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
22
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
+ *
29
+ * ***** END LICENSE BLOCK ***** */
30
+
31
+ define('ace/theme/solarized_light', ['require', 'exports', 'module' , 'ace/lib/dom'], function(require, exports, module) {
32
+
33
+ exports.isDark = false;
34
+ exports.cssClass = "ace-solarized-light";
35
+ exports.cssText = ".ace-solarized-light .ace_gutter {\
36
+ background: #fbf1d3;\
37
+ color: #333\
38
+ }\
39
+ .ace-solarized-light .ace_print-margin {\
40
+ width: 1px;\
41
+ background: #e8e8e8\
42
+ }\
43
+ .ace-solarized-light .ace_scroller {\
44
+ background-color: #FDF6E3\
45
+ }\
46
+ .ace-solarized-light .ace_text-layer {\
47
+ color: #586E75\
48
+ }\
49
+ .ace-solarized-light .ace_cursor {\
50
+ border-left: 2px solid #000000\
51
+ }\
52
+ .ace-solarized-light .ace_overwrite-cursors .ace_cursor {\
53
+ border-left: 0px;\
54
+ border-bottom: 1px solid #000000\
55
+ }\
56
+ .ace-solarized-light .ace_marker-layer .ace_selection {\
57
+ background: #073642\
58
+ }\
59
+ .ace-solarized-light.ace_multiselect .ace_selection.ace_start {\
60
+ box-shadow: 0 0 3px 0px #FDF6E3;\
61
+ border-radius: 2px\
62
+ }\
63
+ .ace-solarized-light .ace_marker-layer .ace_step {\
64
+ background: rgb(255, 255, 0)\
65
+ }\
66
+ .ace-solarized-light .ace_marker-layer .ace_bracket {\
67
+ margin: -1px 0 0 -1px;\
68
+ border: 1px solid rgba(147, 161, 161, 0.50)\
69
+ }\
70
+ .ace-solarized-light .ace_marker-layer .ace_active-line {\
71
+ background: #EEE8D5\
72
+ }\
73
+ .ace-solarized-light .ace_gutter-active-line {\
74
+ background-color : #dcdcdc\
75
+ }\
76
+ .ace-solarized-light .ace_marker-layer .ace_selected-word {\
77
+ border: 1px solid #073642\
78
+ }\
79
+ .ace-solarized-light .ace_invisible {\
80
+ color: rgba(147, 161, 161, 0.50)\
81
+ }\
82
+ .ace-solarized-light .ace_keyword,\
83
+ .ace-solarized-light .ace_meta,\
84
+ .ace-solarized-light .ace_support.ace_class,\
85
+ .ace-solarized-light .ace_support.ace_type {\
86
+ color: #859900\
87
+ }\
88
+ .ace-solarized-light .ace_constant.ace_character,\
89
+ .ace-solarized-light .ace_constant.ace_other {\
90
+ color: #CB4B16\
91
+ }\
92
+ .ace-solarized-light .ace_constant.ace_language {\
93
+ color: #B58900\
94
+ }\
95
+ .ace-solarized-light .ace_constant.ace_numeric {\
96
+ color: #D33682\
97
+ }\
98
+ .ace-solarized-light .ace_fold {\
99
+ background-color: #268BD2;\
100
+ border-color: #586E75\
101
+ }\
102
+ .ace-solarized-light .ace_entity.ace_name.ace_function,\
103
+ .ace-solarized-light .ace_entity.ace_name.ace_tag,\
104
+ .ace-solarized-light .ace_support.ace_function,\
105
+ .ace-solarized-light .ace_variable,\
106
+ .ace-solarized-light .ace_variable.ace_language {\
107
+ color: #268BD2\
108
+ }\
109
+ .ace-solarized-light .ace_storage {\
110
+ color: #073642\
111
+ }\
112
+ .ace-solarized-light .ace_string {\
113
+ color: #2AA198\
114
+ }\
115
+ .ace-solarized-light .ace_string.ace_regexp {\
116
+ color: #D30102\
117
+ }\
118
+ .ace-solarized-light .ace_comment,\
119
+ .ace-solarized-light .ace_entity.ace_other.ace_attribute-name {\
120
+ color: #93A1A1\
121
+ }\
122
+ .ace-solarized-light .ace_markup.ace_underline {\
123
+ text-decoration: underline\
124
+ }\
125
+ .ace-solarized-light .ace_indent-guide {\
126
+ background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4++3xf4ZVq1b9BwAjxwbT1g3hiwAAAABJRU5ErkJggg==) right repeat-y\
127
+ }";
128
+
129
+ var dom = require("../lib/dom");
130
+ dom.importCssString(exports.cssText, exports.cssClass);
131
+ });
@@ -0,0 +1,154 @@
1
+ /* ***** BEGIN LICENSE BLOCK *****
2
+ * Distributed under the BSD license:
3
+ *
4
+ * Copyright (c) 2010, Ajax.org B.V.
5
+ * All rights reserved.
6
+ *
7
+ * Redistribution and use in source and binary forms, with or without
8
+ * modification, are permitted provided that the following conditions are met:
9
+ * * Redistributions of source code must retain the above copyright
10
+ * notice, this list of conditions and the following disclaimer.
11
+ * * Redistributions in binary form must reproduce the above copyright
12
+ * notice, this list of conditions and the following disclaimer in the
13
+ * documentation and/or other materials provided with the distribution.
14
+ * * Neither the name of Ajax.org B.V. nor the
15
+ * names of its contributors may be used to endorse or promote products
16
+ * derived from this software without specific prior written permission.
17
+ *
18
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
+ * DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
22
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
+ *
29
+ * ***** END LICENSE BLOCK ***** */
30
+
31
+ define('ace/theme/terminal', ['require', 'exports', 'module' , 'ace/lib/dom'], function(require, exports, module) {
32
+
33
+ exports.isDark = true;
34
+ exports.cssClass = "ace-terminal-theme";
35
+ exports.cssText = ".ace-terminal-theme .ace_gutter {\
36
+ background: #1a0005;\
37
+ color: steelblue\
38
+ }\
39
+ .ace-terminal-theme .ace_print-margin {\
40
+ width: 1px;\
41
+ background: #1a1a1a\
42
+ }\
43
+ .ace-terminal-theme .ace_scroller {\
44
+ background-color: black\
45
+ }\
46
+ .ace-terminal-theme .ace_text-layer {\
47
+ color: #DEDEDE\
48
+ }\
49
+ .ace-terminal-theme .ace_cursor {\
50
+ border-left: 2px solid springgreen\
51
+ }\
52
+ .ace-terminal-theme .ace_overwrite-cursors .ace_cursor {\
53
+ border-left: 0px;\
54
+ border-bottom: 1px solid #9F9F9F\
55
+ }\
56
+ .ace-terminal-theme .ace_marker-layer .ace_selection {\
57
+ background: #424242\
58
+ }\
59
+ .ace-terminal-theme.ace_multiselect .ace_selection.ace_start {\
60
+ box-shadow: 0 0 3px 0px black;\
61
+ border-radius: 2px\
62
+ }\
63
+ .ace-terminal-theme .ace_marker-layer .ace_step {\
64
+ background: rgb(0, 0, 0)\
65
+ }\
66
+ .ace-terminal-theme .ace_marker-layer .ace_bracket {\
67
+ background: #090;\
68
+ }\
69
+ .ace-terminal-theme .ace_marker-layer .ace_bracket-start {\
70
+ background: #090;\
71
+ }\
72
+ .ace-terminal-theme .ace_marker-layer .ace_bracket-unmatched {\
73
+ margin: -1px 0 0 -1px;\
74
+ border: 1px solid #900\
75
+ }\
76
+ .ace-terminal-theme .ace_marker-layer .ace_active-line {\
77
+ background: #2A2A2A\
78
+ }\
79
+ .ace-terminal-theme .ace_gutter-active-line {\
80
+ background-color: #2A112A\
81
+ }\
82
+ .ace-terminal-theme .ace_marker-layer .ace_selected-word {\
83
+ border: 1px solid #424242\
84
+ }\
85
+ .ace-terminal-theme .ace_invisible {\
86
+ color: #343434\
87
+ }\
88
+ .ace-terminal-theme .ace_keyword,\
89
+ .ace-terminal-theme .ace_meta,\
90
+ .ace-terminal-theme .ace_storage,\
91
+ .ace-terminal-theme .ace_storage.ace_type,\
92
+ .ace-terminal-theme .ace_support.ace_type {\
93
+ color: tomato\
94
+ }\
95
+ .ace-terminal-theme .ace_keyword.ace_operator {\
96
+ color: deeppink\
97
+ }\
98
+ .ace-terminal-theme .ace_constant.ace_character,\
99
+ .ace-terminal-theme .ace_constant.ace_language,\
100
+ .ace-terminal-theme .ace_constant.ace_numeric,\
101
+ .ace-terminal-theme .ace_keyword.ace_other.ace_unit,\
102
+ .ace-terminal-theme .ace_support.ace_constant,\
103
+ .ace-terminal-theme .ace_variable.ace_parameter {\
104
+ color: #E78C45\
105
+ }\
106
+ .ace-terminal-theme .ace_constant.ace_other {\
107
+ color: gold\
108
+ }\
109
+ .ace-terminal-theme .ace_invalid {\
110
+ color: yellow;\
111
+ background-color: red\
112
+ }\
113
+ .ace-terminal-theme .ace_invalid.ace_deprecated {\
114
+ color: #CED2CF;\
115
+ background-color: #B798BF\
116
+ }\
117
+ .ace-terminal-theme .ace_fold {\
118
+ background-color: #7AA6DA;\
119
+ border-color: #DEDEDE\
120
+ }\
121
+ .ace-terminal-theme .ace_entity.ace_name.ace_function,\
122
+ .ace-terminal-theme .ace_support.ace_function,\
123
+ .ace-terminal-theme .ace_variable {\
124
+ color: #7AA6DA\
125
+ }\
126
+ .ace-terminal-theme .ace_support.ace_class,\
127
+ .ace-terminal-theme .ace_support.ace_type {\
128
+ color: #E7C547\
129
+ }\
130
+ .ace-terminal-theme .ace_markup.ace_heading,\
131
+ .ace-terminal-theme .ace_string {\
132
+ color: #B9CA4A\
133
+ }\
134
+ .ace-terminal-theme .ace_entity.ace_name.ace_tag,\
135
+ .ace-terminal-theme .ace_entity.ace_other.ace_attribute-name,\
136
+ .ace-terminal-theme .ace_meta.ace_tag,\
137
+ .ace-terminal-theme .ace_string.ace_regexp,\
138
+ .ace-terminal-theme .ace_variable {\
139
+ color: #D54E53\
140
+ }\
141
+ .ace-terminal-theme .ace_comment {\
142
+ color: orangered\
143
+ }\
144
+ .ace-terminal-theme .ace_markup.ace_underline {\
145
+ text-decoration: underline\
146
+ }\
147
+ .ace-terminal-theme .ace_indent-guide {\
148
+ background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGD4z7Bq1ar/AAz9A/2naJQKAAAAAElFTkSuQmCC) right repeat-y\
149
+ }\
150
+ ";
151
+
152
+ var dom = require("../lib/dom");
153
+ dom.importCssString(exports.cssText, exports.cssClass);
154
+ });
File without changes
@@ -0,0 +1,147 @@
1
+ /* ***** BEGIN LICENSE BLOCK *****
2
+ * Distributed under the BSD license:
3
+ *
4
+ * Copyright (c) 2010, Ajax.org B.V.
5
+ * All rights reserved.
6
+ *
7
+ * Redistribution and use in source and binary forms, with or without
8
+ * modification, are permitted provided that the following conditions are met:
9
+ * * Redistributions of source code must retain the above copyright
10
+ * notice, this list of conditions and the following disclaimer.
11
+ * * Redistributions in binary form must reproduce the above copyright
12
+ * notice, this list of conditions and the following disclaimer in the
13
+ * documentation and/or other materials provided with the distribution.
14
+ * * Neither the name of Ajax.org B.V. nor the
15
+ * names of its contributors may be used to endorse or promote products
16
+ * derived from this software without specific prior written permission.
17
+ *
18
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
+ * DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
22
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
+ *
29
+ * ***** END LICENSE BLOCK ***** */
30
+
31
+ define('ace/theme/tomorrow', ['require', 'exports', 'module' , 'ace/lib/dom'], function(require, exports, module) {
32
+
33
+ exports.isDark = false;
34
+ exports.cssClass = "ace-tomorrow";
35
+ exports.cssText = ".ace-tomorrow .ace_gutter {\
36
+ background: #f6f6f6;\
37
+ color: #4D4D4C\
38
+ }\
39
+ .ace-tomorrow .ace_print-margin {\
40
+ width: 1px;\
41
+ background: #f6f6f6\
42
+ }\
43
+ .ace-tomorrow .ace_scroller {\
44
+ background-color: #FFFFFF\
45
+ }\
46
+ .ace-tomorrow .ace_text-layer {\
47
+ color: #4D4D4C\
48
+ }\
49
+ .ace-tomorrow .ace_cursor {\
50
+ border-left: 2px solid #AEAFAD\
51
+ }\
52
+ .ace-tomorrow .ace_overwrite-cursors .ace_cursor {\
53
+ border-left: 0px;\
54
+ border-bottom: 1px solid #AEAFAD\
55
+ }\
56
+ .ace-tomorrow .ace_marker-layer .ace_selection {\
57
+ background: #D6D6D6\
58
+ }\
59
+ .ace-tomorrow.ace_multiselect .ace_selection.ace_start {\
60
+ box-shadow: 0 0 3px 0px #FFFFFF;\
61
+ border-radius: 2px\
62
+ }\
63
+ .ace-tomorrow .ace_marker-layer .ace_step {\
64
+ background: rgb(255, 255, 0)\
65
+ }\
66
+ .ace-tomorrow .ace_marker-layer .ace_bracket {\
67
+ margin: -1px 0 0 -1px;\
68
+ border: 1px solid #D1D1D1\
69
+ }\
70
+ .ace-tomorrow .ace_marker-layer .ace_active-line {\
71
+ background: #EFEFEF\
72
+ }\
73
+ .ace-tomorrow .ace_gutter-active-line {\
74
+ background-color : #dcdcdc\
75
+ }\
76
+ .ace-tomorrow .ace_marker-layer .ace_selected-word {\
77
+ border: 1px solid #D6D6D6\
78
+ }\
79
+ .ace-tomorrow .ace_invisible {\
80
+ color: #D1D1D1\
81
+ }\
82
+ .ace-tomorrow .ace_keyword,\
83
+ .ace-tomorrow .ace_meta,\
84
+ .ace-tomorrow .ace_storage,\
85
+ .ace-tomorrow .ace_storage.ace_type,\
86
+ .ace-tomorrow .ace_support.ace_type {\
87
+ color: #8959A8\
88
+ }\
89
+ .ace-tomorrow .ace_keyword.ace_operator {\
90
+ color: #3E999F\
91
+ }\
92
+ .ace-tomorrow .ace_constant.ace_character,\
93
+ .ace-tomorrow .ace_constant.ace_language,\
94
+ .ace-tomorrow .ace_constant.ace_numeric,\
95
+ .ace-tomorrow .ace_keyword.ace_other.ace_unit,\
96
+ .ace-tomorrow .ace_support.ace_constant,\
97
+ .ace-tomorrow .ace_variable.ace_parameter {\
98
+ color: #F5871F\
99
+ }\
100
+ .ace-tomorrow .ace_constant.ace_other {\
101
+ color: #666969\
102
+ }\
103
+ .ace-tomorrow .ace_invalid {\
104
+ color: #FFFFFF;\
105
+ background-color: #C82829\
106
+ }\
107
+ .ace-tomorrow .ace_invalid.ace_deprecated {\
108
+ color: #FFFFFF;\
109
+ background-color: #8959A8\
110
+ }\
111
+ .ace-tomorrow .ace_fold {\
112
+ background-color: #4271AE;\
113
+ border-color: #4D4D4C\
114
+ }\
115
+ .ace-tomorrow .ace_entity.ace_name.ace_function,\
116
+ .ace-tomorrow .ace_support.ace_function,\
117
+ .ace-tomorrow .ace_variable {\
118
+ color: #4271AE\
119
+ }\
120
+ .ace-tomorrow .ace_support.ace_class,\
121
+ .ace-tomorrow .ace_support.ace_type {\
122
+ color: #C99E00\
123
+ }\
124
+ .ace-tomorrow .ace_markup.ace_heading,\
125
+ .ace-tomorrow .ace_string {\
126
+ color: #718C00\
127
+ }\
128
+ .ace-tomorrow .ace_entity.ace_name.ace_tag,\
129
+ .ace-tomorrow .ace_entity.ace_other.ace_attribute-name,\
130
+ .ace-tomorrow .ace_meta.ace_tag,\
131
+ .ace-tomorrow .ace_string.ace_regexp,\
132
+ .ace-tomorrow .ace_variable {\
133
+ color: #C82829\
134
+ }\
135
+ .ace-tomorrow .ace_comment {\
136
+ color: #8E908C\
137
+ }\
138
+ .ace-tomorrow .ace_markup.ace_underline {\
139
+ text-decoration: underline\
140
+ }\
141
+ .ace-tomorrow .ace_indent-guide {\
142
+ background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bdu3f/BwAlfgctduB85QAAAABJRU5ErkJggg==) right repeat-y\
143
+ }";
144
+
145
+ var dom = require("../lib/dom");
146
+ dom.importCssString(exports.cssText, exports.cssClass);
147
+ });
@@ -0,0 +1,147 @@
1
+ /* ***** BEGIN LICENSE BLOCK *****
2
+ * Distributed under the BSD license:
3
+ *
4
+ * Copyright (c) 2010, Ajax.org B.V.
5
+ * All rights reserved.
6
+ *
7
+ * Redistribution and use in source and binary forms, with or without
8
+ * modification, are permitted provided that the following conditions are met:
9
+ * * Redistributions of source code must retain the above copyright
10
+ * notice, this list of conditions and the following disclaimer.
11
+ * * Redistributions in binary form must reproduce the above copyright
12
+ * notice, this list of conditions and the following disclaimer in the
13
+ * documentation and/or other materials provided with the distribution.
14
+ * * Neither the name of Ajax.org B.V. nor the
15
+ * names of its contributors may be used to endorse or promote products
16
+ * derived from this software without specific prior written permission.
17
+ *
18
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
+ * DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
22
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
+ *
29
+ * ***** END LICENSE BLOCK ***** */
30
+
31
+ define('ace/theme/tomorrow_night', ['require', 'exports', 'module' , 'ace/lib/dom'], function(require, exports, module) {
32
+
33
+ exports.isDark = true;
34
+ exports.cssClass = "ace-tomorrow-night";
35
+ exports.cssText = ".ace-tomorrow-night .ace_gutter {\
36
+ background: #25282c;\
37
+ color: #C5C8C6\
38
+ }\
39
+ .ace-tomorrow-night .ace_print-margin {\
40
+ width: 1px;\
41
+ background: #25282c\
42
+ }\
43
+ .ace-tomorrow-night .ace_scroller {\
44
+ background-color: #1D1F21\
45
+ }\
46
+ .ace-tomorrow-night .ace_text-layer {\
47
+ color: #C5C8C6\
48
+ }\
49
+ .ace-tomorrow-night .ace_cursor {\
50
+ border-left: 2px solid #AEAFAD\
51
+ }\
52
+ .ace-tomorrow-night .ace_overwrite-cursors .ace_cursor {\
53
+ border-left: 0px;\
54
+ border-bottom: 1px solid #AEAFAD\
55
+ }\
56
+ .ace-tomorrow-night .ace_marker-layer .ace_selection {\
57
+ background: #373B41\
58
+ }\
59
+ .ace-tomorrow-night.ace_multiselect .ace_selection.ace_start {\
60
+ box-shadow: 0 0 3px 0px #1D1F21;\
61
+ border-radius: 2px\
62
+ }\
63
+ .ace-tomorrow-night .ace_marker-layer .ace_step {\
64
+ background: rgb(102, 82, 0)\
65
+ }\
66
+ .ace-tomorrow-night .ace_marker-layer .ace_bracket {\
67
+ margin: -1px 0 0 -1px;\
68
+ border: 1px solid #4B4E55\
69
+ }\
70
+ .ace-tomorrow-night .ace_marker-layer .ace_active-line {\
71
+ background: #282A2E\
72
+ }\
73
+ .ace-tomorrow-night .ace_gutter-active-line {\
74
+ background-color: #282A2E\
75
+ }\
76
+ .ace-tomorrow-night .ace_marker-layer .ace_selected-word {\
77
+ border: 1px solid #373B41\
78
+ }\
79
+ .ace-tomorrow-night .ace_invisible {\
80
+ color: #4B4E55\
81
+ }\
82
+ .ace-tomorrow-night .ace_keyword,\
83
+ .ace-tomorrow-night .ace_meta,\
84
+ .ace-tomorrow-night .ace_storage,\
85
+ .ace-tomorrow-night .ace_storage.ace_type,\
86
+ .ace-tomorrow-night .ace_support.ace_type {\
87
+ color: #B294BB\
88
+ }\
89
+ .ace-tomorrow-night .ace_keyword.ace_operator {\
90
+ color: #8ABEB7\
91
+ }\
92
+ .ace-tomorrow-night .ace_constant.ace_character,\
93
+ .ace-tomorrow-night .ace_constant.ace_language,\
94
+ .ace-tomorrow-night .ace_constant.ace_numeric,\
95
+ .ace-tomorrow-night .ace_keyword.ace_other.ace_unit,\
96
+ .ace-tomorrow-night .ace_support.ace_constant,\
97
+ .ace-tomorrow-night .ace_variable.ace_parameter {\
98
+ color: #DE935F\
99
+ }\
100
+ .ace-tomorrow-night .ace_constant.ace_other {\
101
+ color: #CED1CF\
102
+ }\
103
+ .ace-tomorrow-night .ace_invalid {\
104
+ color: #CED2CF;\
105
+ background-color: #DF5F5F\
106
+ }\
107
+ .ace-tomorrow-night .ace_invalid.ace_deprecated {\
108
+ color: #CED2CF;\
109
+ background-color: #B798BF\
110
+ }\
111
+ .ace-tomorrow-night .ace_fold {\
112
+ background-color: #81A2BE;\
113
+ border-color: #C5C8C6\
114
+ }\
115
+ .ace-tomorrow-night .ace_entity.ace_name.ace_function,\
116
+ .ace-tomorrow-night .ace_support.ace_function,\
117
+ .ace-tomorrow-night .ace_variable {\
118
+ color: #81A2BE\
119
+ }\
120
+ .ace-tomorrow-night .ace_support.ace_class,\
121
+ .ace-tomorrow-night .ace_support.ace_type {\
122
+ color: #F0C674\
123
+ }\
124
+ .ace-tomorrow-night .ace_markup.ace_heading,\
125
+ .ace-tomorrow-night .ace_string {\
126
+ color: #B5BD68\
127
+ }\
128
+ .ace-tomorrow-night .ace_entity.ace_name.ace_tag,\
129
+ .ace-tomorrow-night .ace_entity.ace_other.ace_attribute-name,\
130
+ .ace-tomorrow-night .ace_meta.ace_tag,\
131
+ .ace-tomorrow-night .ace_string.ace_regexp,\
132
+ .ace-tomorrow-night .ace_variable {\
133
+ color: #CC6666\
134
+ }\
135
+ .ace-tomorrow-night .ace_comment {\
136
+ color: #969896\
137
+ }\
138
+ .ace-tomorrow-night .ace_markup.ace_underline {\
139
+ text-decoration: underline\
140
+ }\
141
+ .ace-tomorrow-night .ace_indent-guide {\
142
+ background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQlVf8z7Bq1ar/AA/hBFp7egmpAAAAAElFTkSuQmCC) right repeat-y\
143
+ }";
144
+
145
+ var dom = require("../lib/dom");
146
+ dom.importCssString(exports.cssText, exports.cssClass);
147
+ });