aced_rails 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (255) hide show
  1. data/.gitignore +17 -0
  2. data/CHANGELOG.md +4 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE +22 -0
  5. data/README.md +49 -0
  6. data/Rakefile +2 -0
  7. data/aced_rails.gemspec +19 -0
  8. data/lib/aced_rails.rb +7 -0
  9. data/lib/aced_rails/engine.rb +4 -0
  10. data/lib/aced_rails/version.rb +3 -0
  11. data/vendor/assets/javascripts/ace/ace-compat-noconflict.js +1 -0
  12. data/vendor/assets/javascripts/ace/ace-compat-uncompressed-noconflict.js +480 -0
  13. data/vendor/assets/javascripts/ace/ace-compat-uncompressed.js +480 -0
  14. data/vendor/assets/javascripts/ace/ace-compat.js +1 -0
  15. data/vendor/assets/javascripts/ace/ace-noconflict.js +10 -0
  16. data/vendor/assets/javascripts/ace/ace-uncompressed-noconflict.js +14649 -0
  17. data/vendor/assets/javascripts/ace/ace-uncompressed.js +14649 -0
  18. data/vendor/assets/javascripts/ace/ace.js +10 -0
  19. data/vendor/assets/javascripts/ace/keybinding-emacs-noconflict.js +1 -0
  20. data/vendor/assets/javascripts/ace/keybinding-emacs-uncompressed-noconflict.js +405 -0
  21. data/vendor/assets/javascripts/ace/keybinding-emacs-uncompressed.js +405 -0
  22. data/vendor/assets/javascripts/ace/keybinding-emacs.js +1 -0
  23. data/vendor/assets/javascripts/ace/keybinding-vim-noconflict.js +1 -0
  24. data/vendor/assets/javascripts/ace/keybinding-vim-uncompressed-noconflict.js +393 -0
  25. data/vendor/assets/javascripts/ace/keybinding-vim-uncompressed.js +393 -0
  26. data/vendor/assets/javascripts/ace/keybinding-vim.js +1 -0
  27. data/vendor/assets/javascripts/ace/mode-c_cpp-noconflict.js +1 -0
  28. data/vendor/assets/javascripts/ace/mode-c_cpp-uncompressed-noconflict.js +918 -0
  29. data/vendor/assets/javascripts/ace/mode-c_cpp-uncompressed.js +918 -0
  30. data/vendor/assets/javascripts/ace/mode-c_cpp.js +1 -0
  31. data/vendor/assets/javascripts/ace/mode-clojure-noconflict.js +1 -0
  32. data/vendor/assets/javascripts/ace/mode-clojure-uncompressed-noconflict.js +422 -0
  33. data/vendor/assets/javascripts/ace/mode-clojure-uncompressed.js +422 -0
  34. data/vendor/assets/javascripts/ace/mode-clojure.js +1 -0
  35. data/vendor/assets/javascripts/ace/mode-coffee-noconflict.js +1 -0
  36. data/vendor/assets/javascripts/ace/mode-coffee-uncompressed-noconflict.js +605 -0
  37. data/vendor/assets/javascripts/ace/mode-coffee-uncompressed.js +605 -0
  38. data/vendor/assets/javascripts/ace/mode-coffee.js +1 -0
  39. data/vendor/assets/javascripts/ace/mode-coldfusion-noconflict.js +1 -0
  40. data/vendor/assets/javascripts/ace/mode-coldfusion-uncompressed-noconflict.js +2361 -0
  41. data/vendor/assets/javascripts/ace/mode-coldfusion-uncompressed.js +2361 -0
  42. data/vendor/assets/javascripts/ace/mode-coldfusion.js +1 -0
  43. data/vendor/assets/javascripts/ace/mode-csharp-noconflict.js +1 -0
  44. data/vendor/assets/javascripts/ace/mode-csharp-uncompressed-noconflict.js +768 -0
  45. data/vendor/assets/javascripts/ace/mode-csharp-uncompressed.js +768 -0
  46. data/vendor/assets/javascripts/ace/mode-csharp.js +1 -0
  47. data/vendor/assets/javascripts/ace/mode-css-noconflict.js +1 -0
  48. data/vendor/assets/javascripts/ace/mode-css-uncompressed-noconflict.js +664 -0
  49. data/vendor/assets/javascripts/ace/mode-css-uncompressed.js +664 -0
  50. data/vendor/assets/javascripts/ace/mode-css.js +1 -0
  51. data/vendor/assets/javascripts/ace/mode-groovy-noconflict.js +1 -0
  52. data/vendor/assets/javascripts/ace/mode-groovy-uncompressed-noconflict.js +1280 -0
  53. data/vendor/assets/javascripts/ace/mode-groovy-uncompressed.js +1280 -0
  54. data/vendor/assets/javascripts/ace/mode-groovy.js +1 -0
  55. data/vendor/assets/javascripts/ace/mode-haxe-noconflict.js +1 -0
  56. data/vendor/assets/javascripts/ace/mode-haxe-uncompressed-noconflict.js +768 -0
  57. data/vendor/assets/javascripts/ace/mode-haxe-uncompressed.js +768 -0
  58. data/vendor/assets/javascripts/ace/mode-haxe.js +1 -0
  59. data/vendor/assets/javascripts/ace/mode-html-noconflict.js +1 -0
  60. data/vendor/assets/javascripts/ace/mode-html-uncompressed-noconflict.js +2377 -0
  61. data/vendor/assets/javascripts/ace/mode-html-uncompressed.js +2377 -0
  62. data/vendor/assets/javascripts/ace/mode-html.js +1 -0
  63. data/vendor/assets/javascripts/ace/mode-java-noconflict.js +1 -0
  64. data/vendor/assets/javascripts/ace/mode-java-uncompressed-noconflict.js +1282 -0
  65. data/vendor/assets/javascripts/ace/mode-java-uncompressed.js +1282 -0
  66. data/vendor/assets/javascripts/ace/mode-java.js +1 -0
  67. data/vendor/assets/javascripts/ace/mode-javascript-noconflict.js +1 -0
  68. data/vendor/assets/javascripts/ace/mode-javascript-uncompressed-noconflict.js +1113 -0
  69. data/vendor/assets/javascripts/ace/mode-javascript-uncompressed.js +1113 -0
  70. data/vendor/assets/javascripts/ace/mode-javascript.js +1 -0
  71. data/vendor/assets/javascripts/ace/mode-json-noconflict.js +1 -0
  72. data/vendor/assets/javascripts/ace/mode-json-uncompressed-noconflict.js +696 -0
  73. data/vendor/assets/javascripts/ace/mode-json-uncompressed.js +696 -0
  74. data/vendor/assets/javascripts/ace/mode-json.js +1 -0
  75. data/vendor/assets/javascripts/ace/mode-latex-noconflict.js +1 -0
  76. data/vendor/assets/javascripts/ace/mode-latex-uncompressed-noconflict.js +95 -0
  77. data/vendor/assets/javascripts/ace/mode-latex-uncompressed.js +95 -0
  78. data/vendor/assets/javascripts/ace/mode-latex.js +1 -0
  79. data/vendor/assets/javascripts/ace/mode-lua-noconflict.js +1 -0
  80. data/vendor/assets/javascripts/ace/mode-lua-uncompressed-noconflict.js +523 -0
  81. data/vendor/assets/javascripts/ace/mode-lua-uncompressed.js +523 -0
  82. data/vendor/assets/javascripts/ace/mode-lua.js +1 -0
  83. data/vendor/assets/javascripts/ace/mode-markdown-noconflict.js +1 -0
  84. data/vendor/assets/javascripts/ace/mode-markdown-uncompressed-noconflict.js +2819 -0
  85. data/vendor/assets/javascripts/ace/mode-markdown-uncompressed.js +2819 -0
  86. data/vendor/assets/javascripts/ace/mode-markdown.js +1 -0
  87. data/vendor/assets/javascripts/ace/mode-ocaml-noconflict.js +1 -0
  88. data/vendor/assets/javascripts/ace/mode-ocaml-uncompressed-noconflict.js +539 -0
  89. data/vendor/assets/javascripts/ace/mode-ocaml-uncompressed.js +539 -0
  90. data/vendor/assets/javascripts/ace/mode-ocaml.js +1 -0
  91. data/vendor/assets/javascripts/ace/mode-perl-noconflict.js +1 -0
  92. data/vendor/assets/javascripts/ace/mode-perl-uncompressed-noconflict.js +573 -0
  93. data/vendor/assets/javascripts/ace/mode-perl-uncompressed.js +573 -0
  94. data/vendor/assets/javascripts/ace/mode-perl.js +1 -0
  95. data/vendor/assets/javascripts/ace/mode-pgsql-noconflict.js +1 -0
  96. data/vendor/assets/javascripts/ace/mode-pgsql-uncompressed-noconflict.js +1107 -0
  97. data/vendor/assets/javascripts/ace/mode-pgsql-uncompressed.js +1107 -0
  98. data/vendor/assets/javascripts/ace/mode-pgsql.js +1 -0
  99. data/vendor/assets/javascripts/ace/mode-php-noconflict.js +1 -0
  100. data/vendor/assets/javascripts/ace/mode-php-uncompressed-noconflict.js +1884 -0
  101. data/vendor/assets/javascripts/ace/mode-php-uncompressed.js +1884 -0
  102. data/vendor/assets/javascripts/ace/mode-php.js +1 -0
  103. data/vendor/assets/javascripts/ace/mode-powershell-noconflict.js +1 -0
  104. data/vendor/assets/javascripts/ace/mode-powershell-uncompressed-noconflict.js +706 -0
  105. data/vendor/assets/javascripts/ace/mode-powershell-uncompressed.js +706 -0
  106. data/vendor/assets/javascripts/ace/mode-powershell.js +1 -0
  107. data/vendor/assets/javascripts/ace/mode-python-noconflict.js +1 -0
  108. data/vendor/assets/javascripts/ace/mode-python-uncompressed-noconflict.js +506 -0
  109. data/vendor/assets/javascripts/ace/mode-python-uncompressed.js +506 -0
  110. data/vendor/assets/javascripts/ace/mode-python.js +1 -0
  111. data/vendor/assets/javascripts/ace/mode-ruby-noconflict.js +1 -0
  112. data/vendor/assets/javascripts/ace/mode-ruby-uncompressed-noconflict.js +391 -0
  113. data/vendor/assets/javascripts/ace/mode-ruby-uncompressed.js +391 -0
  114. data/vendor/assets/javascripts/ace/mode-ruby.js +1 -0
  115. data/vendor/assets/javascripts/ace/mode-scad-noconflict.js +1 -0
  116. data/vendor/assets/javascripts/ace/mode-scad-uncompressed-noconflict.js +906 -0
  117. data/vendor/assets/javascripts/ace/mode-scad-uncompressed.js +906 -0
  118. data/vendor/assets/javascripts/ace/mode-scad.js +1 -0
  119. data/vendor/assets/javascripts/ace/mode-scala-noconflict.js +1 -0
  120. data/vendor/assets/javascripts/ace/mode-scala-uncompressed-noconflict.js +1282 -0
  121. data/vendor/assets/javascripts/ace/mode-scala-uncompressed.js +1282 -0
  122. data/vendor/assets/javascripts/ace/mode-scala.js +1 -0
  123. data/vendor/assets/javascripts/ace/mode-scss-noconflict.js +1 -0
  124. data/vendor/assets/javascripts/ace/mode-scss-uncompressed-noconflict.js +678 -0
  125. data/vendor/assets/javascripts/ace/mode-scss-uncompressed.js +678 -0
  126. data/vendor/assets/javascripts/ace/mode-scss.js +1 -0
  127. data/vendor/assets/javascripts/ace/mode-sh-noconflict.js +1 -0
  128. data/vendor/assets/javascripts/ace/mode-sh-uncompressed-noconflict.js +268 -0
  129. data/vendor/assets/javascripts/ace/mode-sh-uncompressed.js +268 -0
  130. data/vendor/assets/javascripts/ace/mode-sh.js +1 -0
  131. data/vendor/assets/javascripts/ace/mode-sql-noconflict.js +1 -0
  132. data/vendor/assets/javascripts/ace/mode-sql-uncompressed-noconflict.js +159 -0
  133. data/vendor/assets/javascripts/ace/mode-sql-uncompressed.js +159 -0
  134. data/vendor/assets/javascripts/ace/mode-sql.js +1 -0
  135. data/vendor/assets/javascripts/ace/mode-svg-noconflict.js +1 -0
  136. data/vendor/assets/javascripts/ace/mode-svg-uncompressed-noconflict.js +2016 -0
  137. data/vendor/assets/javascripts/ace/mode-svg-uncompressed.js +2016 -0
  138. data/vendor/assets/javascripts/ace/mode-svg.js +1 -0
  139. data/vendor/assets/javascripts/ace/mode-text-noconflict.js +0 -0
  140. data/vendor/assets/javascripts/ace/mode-text-uncompressed-noconflict.js +0 -0
  141. data/vendor/assets/javascripts/ace/mode-text-uncompressed.js +0 -0
  142. data/vendor/assets/javascripts/ace/mode-text.js +0 -0
  143. data/vendor/assets/javascripts/ace/mode-textile-noconflict.js +1 -0
  144. data/vendor/assets/javascripts/ace/mode-textile-uncompressed-noconflict.js +254 -0
  145. data/vendor/assets/javascripts/ace/mode-textile-uncompressed.js +254 -0
  146. data/vendor/assets/javascripts/ace/mode-textile.js +1 -0
  147. data/vendor/assets/javascripts/ace/mode-xml-noconflict.js +1 -0
  148. data/vendor/assets/javascripts/ace/mode-xml-uncompressed-noconflict.js +1001 -0
  149. data/vendor/assets/javascripts/ace/mode-xml-uncompressed.js +1001 -0
  150. data/vendor/assets/javascripts/ace/mode-xml.js +1 -0
  151. data/vendor/assets/javascripts/ace/theme-chrome-noconflict.js +1 -0
  152. data/vendor/assets/javascripts/ace/theme-chrome-uncompressed-noconflict.js +212 -0
  153. data/vendor/assets/javascripts/ace/theme-chrome-uncompressed.js +212 -0
  154. data/vendor/assets/javascripts/ace/theme-chrome.js +1 -0
  155. data/vendor/assets/javascripts/ace/theme-clouds-noconflict.js +1 -0
  156. data/vendor/assets/javascripts/ace/theme-clouds-uncompressed-noconflict.js +155 -0
  157. data/vendor/assets/javascripts/ace/theme-clouds-uncompressed.js +155 -0
  158. data/vendor/assets/javascripts/ace/theme-clouds.js +1 -0
  159. data/vendor/assets/javascripts/ace/theme-clouds_midnight-noconflict.js +1 -0
  160. data/vendor/assets/javascripts/ace/theme-clouds_midnight-uncompressed-noconflict.js +156 -0
  161. data/vendor/assets/javascripts/ace/theme-clouds_midnight-uncompressed.js +156 -0
  162. data/vendor/assets/javascripts/ace/theme-clouds_midnight.js +1 -0
  163. data/vendor/assets/javascripts/ace/theme-cobalt-noconflict.js +1 -0
  164. data/vendor/assets/javascripts/ace/theme-cobalt-uncompressed-noconflict.js +170 -0
  165. data/vendor/assets/javascripts/ace/theme-cobalt-uncompressed.js +170 -0
  166. data/vendor/assets/javascripts/ace/theme-cobalt.js +1 -0
  167. data/vendor/assets/javascripts/ace/theme-crimson_editor-noconflict.js +1 -0
  168. data/vendor/assets/javascripts/ace/theme-crimson_editor-uncompressed-noconflict.js +198 -0
  169. data/vendor/assets/javascripts/ace/theme-crimson_editor-uncompressed.js +198 -0
  170. data/vendor/assets/javascripts/ace/theme-crimson_editor.js +1 -0
  171. data/vendor/assets/javascripts/ace/theme-dawn-noconflict.js +1 -0
  172. data/vendor/assets/javascripts/ace/theme-dawn-uncompressed-noconflict.js +174 -0
  173. data/vendor/assets/javascripts/ace/theme-dawn-uncompressed.js +174 -0
  174. data/vendor/assets/javascripts/ace/theme-dawn.js +1 -0
  175. data/vendor/assets/javascripts/ace/theme-dreamweaver-noconflict.js +1 -0
  176. data/vendor/assets/javascripts/ace/theme-dreamweaver-uncompressed-noconflict.js +227 -0
  177. data/vendor/assets/javascripts/ace/theme-dreamweaver-uncompressed.js +227 -0
  178. data/vendor/assets/javascripts/ace/theme-dreamweaver.js +1 -0
  179. data/vendor/assets/javascripts/ace/theme-eclipse-noconflict.js +1 -0
  180. data/vendor/assets/javascripts/ace/theme-eclipse-uncompressed-noconflict.js +147 -0
  181. data/vendor/assets/javascripts/ace/theme-eclipse-uncompressed.js +147 -0
  182. data/vendor/assets/javascripts/ace/theme-eclipse.js +1 -0
  183. data/vendor/assets/javascripts/ace/theme-idle_fingers-noconflict.js +1 -0
  184. data/vendor/assets/javascripts/ace/theme-idle_fingers-uncompressed-noconflict.js +162 -0
  185. data/vendor/assets/javascripts/ace/theme-idle_fingers-uncompressed.js +162 -0
  186. data/vendor/assets/javascripts/ace/theme-idle_fingers.js +1 -0
  187. data/vendor/assets/javascripts/ace/theme-kr_theme-noconflict.js +1 -0
  188. data/vendor/assets/javascripts/ace/theme-kr_theme-uncompressed-noconflict.js +165 -0
  189. data/vendor/assets/javascripts/ace/theme-kr_theme-uncompressed.js +165 -0
  190. data/vendor/assets/javascripts/ace/theme-kr_theme.js +1 -0
  191. data/vendor/assets/javascripts/ace/theme-merbivore-noconflict.js +1 -0
  192. data/vendor/assets/javascripts/ace/theme-merbivore-uncompressed-noconflict.js +165 -0
  193. data/vendor/assets/javascripts/ace/theme-merbivore-uncompressed.js +165 -0
  194. data/vendor/assets/javascripts/ace/theme-merbivore.js +1 -0
  195. data/vendor/assets/javascripts/ace/theme-merbivore_soft-noconflict.js +1 -0
  196. data/vendor/assets/javascripts/ace/theme-merbivore_soft-uncompressed-noconflict.js +171 -0
  197. data/vendor/assets/javascripts/ace/theme-merbivore_soft-uncompressed.js +171 -0
  198. data/vendor/assets/javascripts/ace/theme-merbivore_soft.js +1 -0
  199. data/vendor/assets/javascripts/ace/theme-mono_industrial-noconflict.js +1 -0
  200. data/vendor/assets/javascripts/ace/theme-mono_industrial-uncompressed-noconflict.js +169 -0
  201. data/vendor/assets/javascripts/ace/theme-mono_industrial-uncompressed.js +169 -0
  202. data/vendor/assets/javascripts/ace/theme-mono_industrial.js +1 -0
  203. data/vendor/assets/javascripts/ace/theme-monokai-noconflict.js +1 -0
  204. data/vendor/assets/javascripts/ace/theme-monokai-uncompressed-noconflict.js +171 -0
  205. data/vendor/assets/javascripts/ace/theme-monokai-uncompressed.js +171 -0
  206. data/vendor/assets/javascripts/ace/theme-monokai.js +1 -0
  207. data/vendor/assets/javascripts/ace/theme-pastel_on_dark-noconflict.js +1 -0
  208. data/vendor/assets/javascripts/ace/theme-pastel_on_dark-uncompressed-noconflict.js +179 -0
  209. data/vendor/assets/javascripts/ace/theme-pastel_on_dark-uncompressed.js +179 -0
  210. data/vendor/assets/javascripts/ace/theme-pastel_on_dark.js +1 -0
  211. data/vendor/assets/javascripts/ace/theme-solarized_dark-noconflict.js +1 -0
  212. data/vendor/assets/javascripts/ace/theme-solarized_dark-uncompressed-noconflict.js +160 -0
  213. data/vendor/assets/javascripts/ace/theme-solarized_dark-uncompressed.js +160 -0
  214. data/vendor/assets/javascripts/ace/theme-solarized_dark.js +1 -0
  215. data/vendor/assets/javascripts/ace/theme-solarized_light-noconflict.js +1 -0
  216. data/vendor/assets/javascripts/ace/theme-solarized_light-uncompressed-noconflict.js +159 -0
  217. data/vendor/assets/javascripts/ace/theme-solarized_light-uncompressed.js +159 -0
  218. data/vendor/assets/javascripts/ace/theme-solarized_light.js +1 -0
  219. data/vendor/assets/javascripts/ace/theme-textmate-noconflict.js +0 -0
  220. data/vendor/assets/javascripts/ace/theme-textmate-uncompressed-noconflict.js +0 -0
  221. data/vendor/assets/javascripts/ace/theme-textmate-uncompressed.js +0 -0
  222. data/vendor/assets/javascripts/ace/theme-textmate.js +0 -0
  223. data/vendor/assets/javascripts/ace/theme-tomorrow-noconflict.js +1 -0
  224. data/vendor/assets/javascripts/ace/theme-tomorrow-uncompressed-noconflict.js +189 -0
  225. data/vendor/assets/javascripts/ace/theme-tomorrow-uncompressed.js +189 -0
  226. data/vendor/assets/javascripts/ace/theme-tomorrow.js +1 -0
  227. data/vendor/assets/javascripts/ace/theme-tomorrow_night-noconflict.js +1 -0
  228. data/vendor/assets/javascripts/ace/theme-tomorrow_night-uncompressed-noconflict.js +189 -0
  229. data/vendor/assets/javascripts/ace/theme-tomorrow_night-uncompressed.js +189 -0
  230. data/vendor/assets/javascripts/ace/theme-tomorrow_night.js +1 -0
  231. data/vendor/assets/javascripts/ace/theme-tomorrow_night_blue-noconflict.js +1 -0
  232. data/vendor/assets/javascripts/ace/theme-tomorrow_night_blue-uncompressed-noconflict.js +189 -0
  233. data/vendor/assets/javascripts/ace/theme-tomorrow_night_blue-uncompressed.js +189 -0
  234. data/vendor/assets/javascripts/ace/theme-tomorrow_night_blue.js +1 -0
  235. data/vendor/assets/javascripts/ace/theme-tomorrow_night_bright-noconflict.js +1 -0
  236. data/vendor/assets/javascripts/ace/theme-tomorrow_night_bright-uncompressed-noconflict.js +189 -0
  237. data/vendor/assets/javascripts/ace/theme-tomorrow_night_bright-uncompressed.js +189 -0
  238. data/vendor/assets/javascripts/ace/theme-tomorrow_night_bright.js +1 -0
  239. data/vendor/assets/javascripts/ace/theme-tomorrow_night_eighties-noconflict.js +1 -0
  240. data/vendor/assets/javascripts/ace/theme-tomorrow_night_eighties-uncompressed-noconflict.js +185 -0
  241. data/vendor/assets/javascripts/ace/theme-tomorrow_night_eighties-uncompressed.js +185 -0
  242. data/vendor/assets/javascripts/ace/theme-tomorrow_night_eighties.js +1 -0
  243. data/vendor/assets/javascripts/ace/theme-twilight-noconflict.js +1 -0
  244. data/vendor/assets/javascripts/ace/theme-twilight-uncompressed-noconflict.js +183 -0
  245. data/vendor/assets/javascripts/ace/theme-twilight-uncompressed.js +183 -0
  246. data/vendor/assets/javascripts/ace/theme-twilight.js +1 -0
  247. data/vendor/assets/javascripts/ace/theme-vibrant_ink-noconflict.js +1 -0
  248. data/vendor/assets/javascripts/ace/theme-vibrant_ink-uncompressed-noconflict.js +166 -0
  249. data/vendor/assets/javascripts/ace/theme-vibrant_ink-uncompressed.js +166 -0
  250. data/vendor/assets/javascripts/ace/theme-vibrant_ink.js +1 -0
  251. data/vendor/assets/javascripts/ace/worker-coffee.js +7456 -0
  252. data/vendor/assets/javascripts/ace/worker-css.js +11693 -0
  253. data/vendor/assets/javascripts/ace/worker-javascript.js +10305 -0
  254. data/vendor/assets/javascripts/ace/worker-json.js +3062 -0
  255. metadata +310 -0
data/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
data/CHANGELOG.md ADDED
@@ -0,0 +1,4 @@
1
+ v 0.0.1
2
+ =======
3
+
4
+ * intial release
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in aced_rails.gemspec
4
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2012 Roman Kolesnev
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,49 @@
1
+ AcedRails
2
+ =========
3
+
4
+ This gem provide some generators and helpers for using [Ajax.org Cloud9 Editor](http://ajaxorg.github.com/ace/) (ACE).
5
+
6
+ This's my first gem, so i'll be pleasure for any comments or pull requests.
7
+
8
+ My English is bad, i know. So, i glad to any grammar fixes too. =)
9
+
10
+ Installation
11
+ ------------
12
+
13
+ Add this line to your application's Gemfile:
14
+
15
+ gem 'aced_rails'
16
+
17
+ And then execute:
18
+
19
+ $ bundle
20
+
21
+ Or install it yourself as:
22
+
23
+ $ gem install aced_rails
24
+
25
+ Usage
26
+ -----
27
+
28
+ *Gem is under construction...*
29
+
30
+ At this moment this only gem provides all ACE's javascripts in vendor/javascripts/ace/*.js
31
+
32
+ So, you can add in application.js lines like this:
33
+
34
+ ```javascript
35
+ //= require ace/ace
36
+ //= require ace/theme-twilight
37
+ //= require ace/mode-textile
38
+ ```
39
+
40
+ And follow ACE's wiki for instructions.
41
+
42
+ Contributing
43
+ ------------
44
+
45
+ 1. Fork it
46
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
47
+ 3. Commit your changes (`git commit -am 'Added some feature'`)
48
+ 4. Push to the branch (`git push origin my-new-feature`)
49
+ 5. Create new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env rake
2
+ require "bundler/gem_tasks"
@@ -0,0 +1,19 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require File.expand_path('../lib/aced_rails/version', __FILE__)
3
+
4
+ Gem::Specification.new do |gem|
5
+ gem.authors = ["Roman Kolesnev"]
6
+ gem.email = ["rvkolesnev@gmail.com"]
7
+ gem.description = %q{ACE editor for Rails 3.1+ apps}
8
+ gem.summary = %q{Provide some helpers and generators for using Ajax.org Cloud9 Editor}
9
+ gem.homepage = "https://github.com/ffloyd/aced_rails"
10
+
11
+ gem.files = `git ls-files`.split($\)
12
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
13
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
+ gem.name = "aced_rails"
15
+ gem.require_paths = ["lib"]
16
+ gem.version = AcedRails::VERSION
17
+
18
+ gem.add_dependency "rails", "~> 3.1"
19
+ end
data/lib/aced_rails.rb ADDED
@@ -0,0 +1,7 @@
1
+ module AcedRails
2
+ require "aced_rails/version"
3
+
4
+ unless Rails.version < '3.1'
5
+ require "aced_rails/engine"
6
+ end
7
+ end
@@ -0,0 +1,4 @@
1
+ module AcedRails
2
+ class Engine < Rails::Engine
3
+ end
4
+ end
@@ -0,0 +1,3 @@
1
+ module AcedRails
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1 @@
1
+ ace.define("pilot/index",["require","exports","module","pilot/browser_focus","pilot/dom","pilot/event","pilot/event_emitter","pilot/fixoldbrowsers","pilot/keys","pilot/lang","pilot/oop","pilot/useragent","pilot/canon"],function(a,b,c){a("pilot/browser_focus"),a("pilot/dom"),a("pilot/event"),a("pilot/event_emitter"),a("pilot/fixoldbrowsers"),a("pilot/keys"),a("pilot/lang"),a("pilot/oop"),a("pilot/useragent"),a("pilot/canon")}),ace.define("pilot/browser_focus",["require","exports","module","ace/lib/browser_focus"],function(a,b,c){console.warn("DEPRECATED: 'pilot/browser_focus' is deprecated. Use 'ace/lib/browser_focus' instead"),c.exports=a("ace/lib/browser_focus")}),ace.define("pilot/dom",["require","exports","module","ace/lib/dom"],function(a,b,c){console.warn("DEPRECATED: 'pilot/dom' is deprecated. Use 'ace/lib/dom' instead"),c.exports=a("ace/lib/dom")}),ace.define("pilot/event",["require","exports","module","ace/lib/event"],function(a,b,c){console.warn("DEPRECATED: 'pilot/event' is deprecated. Use 'ace/lib/event' instead"),c.exports=a("ace/lib/event")}),ace.define("pilot/event_emitter",["require","exports","module","ace/lib/event_emitter"],function(a,b,c){console.warn("DEPRECATED: 'pilot/event_emitter' is deprecated. Use 'ace/lib/event_emitter' instead"),c.exports=a("ace/lib/event_emitter")}),ace.define("pilot/fixoldbrowsers",["require","exports","module","ace/lib/fixoldbrowsers"],function(a,b,c){console.warn("DEPRECATED: 'pilot/fixoldbrowsers' is deprecated. Use 'ace/lib/fixoldbrowsers' instead"),c.exports=a("ace/lib/fixoldbrowsers")}),ace.define("pilot/keys",["require","exports","module","ace/lib/keys"],function(a,b,c){console.warn("DEPRECATED: 'pilot/keys' is deprecated. Use 'ace/lib/keys' instead"),c.exports=a("ace/lib/keys")}),ace.define("pilot/lang",["require","exports","module","ace/lib/lang"],function(a,b,c){console.warn("DEPRECATED: 'pilot/lang' is deprecated. Use 'ace/lib/lang' instead"),c.exports=a("ace/lib/lang")}),ace.define("pilot/oop",["require","exports","module","ace/lib/oop"],function(a,b,c){console.warn("DEPRECATED: 'pilot/oop' is deprecated. Use 'ace/lib/oop' instead"),c.exports=a("ace/lib/oop")}),ace.define("pilot/useragent",["require","exports","module","ace/lib/useragent"],function(a,b,c){console.warn("DEPRECATED: 'pilot/useragent' is deprecated. Use 'ace/lib/useragent' instead"),c.exports=a("ace/lib/useragent")}),ace.define("pilot/canon",["require","exports","module"],function(a,b,c){console.warn("DEPRECATED: 'pilot/canon' is deprecated."),b.addCommand=function(){console.warn("DEPRECATED: 'canon.addCommand()' is deprecated. Use 'editor.commands.addCommand(command)' instead."),console.trace()},b.removeCommand=function(){console.warn("DEPRECATED: 'canon.removeCommand()' is deprecated. Use 'editor.commands.removeCommand(command)' instead."),console.trace()}})
@@ -0,0 +1,480 @@
1
+ /* vim:ts=4:sts=4:sw=4:
2
+ * ***** BEGIN LICENSE BLOCK *****
3
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4
+ *
5
+ * The contents of this file are subject to the Mozilla Public License Version
6
+ * 1.1 (the "License"); you may not use this file except in compliance with
7
+ * the License. You may obtain a copy of the License at
8
+ * http://www.mozilla.org/MPL/
9
+ *
10
+ * Software distributed under the License is distributed on an "AS IS" basis,
11
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12
+ * for the specific language governing rights and limitations under the
13
+ * License.
14
+ *
15
+ * The Original Code is Ajax.org Code Editor (ACE).
16
+ *
17
+ * The Initial Developer of the Original Code is
18
+ * Ajax.org B.V.
19
+ * Portions created by the Initial Developer are Copyright (C) 2010
20
+ * the Initial Developer. All Rights Reserved.
21
+ *
22
+ * Contributor(s):
23
+ * Fabian Jakobs <fabian AT ajax DOT org>
24
+ *
25
+ * Alternatively, the contents of this file may be used under the terms of
26
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
27
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28
+ * in which case the provisions of the GPL or the LGPL are applicable instead
29
+ * of those above. If you wish to allow use of your version of this file only
30
+ * under the terms of either the GPL or the LGPL, and not to allow others to
31
+ * use your version of this file under the terms of the MPL, indicate your
32
+ * decision by deleting the provisions above and replace them with the notice
33
+ * and other provisions required by the GPL or the LGPL. If you do not delete
34
+ * the provisions above, a recipient may use your version of this file under
35
+ * the terms of any one of the MPL, the GPL or the LGPL.
36
+ *
37
+ * ***** END LICENSE BLOCK ***** */
38
+
39
+ ace.define('pilot/index', ['require', 'exports', 'module' , 'pilot/browser_focus', 'pilot/dom', 'pilot/event', 'pilot/event_emitter', 'pilot/fixoldbrowsers', 'pilot/keys', 'pilot/lang', 'pilot/oop', 'pilot/useragent', 'pilot/canon'], function(require, exports, module) {
40
+ require("pilot/browser_focus");
41
+ require("pilot/dom");
42
+ require("pilot/event");
43
+ require("pilot/event_emitter");
44
+ require("pilot/fixoldbrowsers");
45
+ require("pilot/keys");
46
+ require("pilot/lang");
47
+ require("pilot/oop");
48
+ require("pilot/useragent");
49
+ require("pilot/canon");
50
+ });
51
+ /* vim:ts=4:sts=4:sw=4:
52
+ * ***** BEGIN LICENSE BLOCK *****
53
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
54
+ *
55
+ * The contents of this file are subject to the Mozilla Public License Version
56
+ * 1.1 (the "License"); you may not use this file except in compliance with
57
+ * the License. You may obtain a copy of the License at
58
+ * http://www.mozilla.org/MPL/
59
+ *
60
+ * Software distributed under the License is distributed on an "AS IS" basis,
61
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
62
+ * for the specific language governing rights and limitations under the
63
+ * License.
64
+ *
65
+ * The Original Code is Ajax.org Code Editor (ACE).
66
+ *
67
+ * The Initial Developer of the Original Code is
68
+ * Ajax.org B.V.
69
+ * Portions created by the Initial Developer are Copyright (C) 2010
70
+ * the Initial Developer. All Rights Reserved.
71
+ *
72
+ * Contributor(s):
73
+ * Fabian Jakobs <fabian AT ajax DOT org>
74
+ *
75
+ * Alternatively, the contents of this file may be used under the terms of
76
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
77
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
78
+ * in which case the provisions of the GPL or the LGPL are applicable instead
79
+ * of those above. If you wish to allow use of your version of this file only
80
+ * under the terms of either the GPL or the LGPL, and not to allow others to
81
+ * use your version of this file under the terms of the MPL, indicate your
82
+ * decision by deleting the provisions above and replace them with the notice
83
+ * and other provisions required by the GPL or the LGPL. If you do not delete
84
+ * the provisions above, a recipient may use your version of this file under
85
+ * the terms of any one of the MPL, the GPL or the LGPL.
86
+ *
87
+ * ***** END LICENSE BLOCK ***** */
88
+
89
+ ace.define('pilot/browser_focus', ['require', 'exports', 'module' , 'ace/lib/browser_focus'], function(require, exports, module) {
90
+ console.warn("DEPRECATED: 'pilot/browser_focus' is deprecated. Use 'ace/lib/browser_focus' instead");
91
+ module.exports = require("ace/lib/browser_focus");
92
+ });
93
+ /* vim:ts=4:sts=4:sw=4:
94
+ * ***** BEGIN LICENSE BLOCK *****
95
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
96
+ *
97
+ * The contents of this file are subject to the Mozilla Public License Version
98
+ * 1.1 (the "License"); you may not use this file except in compliance with
99
+ * the License. You may obtain a copy of the License at
100
+ * http://www.mozilla.org/MPL/
101
+ *
102
+ * Software distributed under the License is distributed on an "AS IS" basis,
103
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
104
+ * for the specific language governing rights and limitations under the
105
+ * License.
106
+ *
107
+ * The Original Code is Ajax.org Code Editor (ACE).
108
+ *
109
+ * The Initial Developer of the Original Code is
110
+ * Ajax.org B.V.
111
+ * Portions created by the Initial Developer are Copyright (C) 2010
112
+ * the Initial Developer. All Rights Reserved.
113
+ *
114
+ * Contributor(s):
115
+ * Fabian Jakobs <fabian AT ajax DOT org>
116
+ *
117
+ * Alternatively, the contents of this file may be used under the terms of
118
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
119
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
120
+ * in which case the provisions of the GPL or the LGPL are applicable instead
121
+ * of those above. If you wish to allow use of your version of this file only
122
+ * under the terms of either the GPL or the LGPL, and not to allow others to
123
+ * use your version of this file under the terms of the MPL, indicate your
124
+ * decision by deleting the provisions above and replace them with the notice
125
+ * and other provisions required by the GPL or the LGPL. If you do not delete
126
+ * the provisions above, a recipient may use your version of this file under
127
+ * the terms of any one of the MPL, the GPL or the LGPL.
128
+ *
129
+ * ***** END LICENSE BLOCK ***** */
130
+
131
+ ace.define('pilot/dom', ['require', 'exports', 'module' , 'ace/lib/dom'], function(require, exports, module) {
132
+ console.warn("DEPRECATED: 'pilot/dom' is deprecated. Use 'ace/lib/dom' instead");
133
+ module.exports = require("ace/lib/dom");
134
+ });
135
+ /* vim:ts=4:sts=4:sw=4:
136
+ * ***** BEGIN LICENSE BLOCK *****
137
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
138
+ *
139
+ * The contents of this file are subject to the Mozilla Public License Version
140
+ * 1.1 (the "License"); you may not use this file except in compliance with
141
+ * the License. You may obtain a copy of the License at
142
+ * http://www.mozilla.org/MPL/
143
+ *
144
+ * Software distributed under the License is distributed on an "AS IS" basis,
145
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
146
+ * for the specific language governing rights and limitations under the
147
+ * License.
148
+ *
149
+ * The Original Code is Ajax.org Code Editor (ACE).
150
+ *
151
+ * The Initial Developer of the Original Code is
152
+ * Ajax.org B.V.
153
+ * Portions created by the Initial Developer are Copyright (C) 2010
154
+ * the Initial Developer. All Rights Reserved.
155
+ *
156
+ * Contributor(s):
157
+ * Fabian Jakobs <fabian AT ajax DOT org>
158
+ *
159
+ * Alternatively, the contents of this file may be used under the terms of
160
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
161
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
162
+ * in which case the provisions of the GPL or the LGPL are applicable instead
163
+ * of those above. If you wish to allow use of your version of this file only
164
+ * under the terms of either the GPL or the LGPL, and not to allow others to
165
+ * use your version of this file under the terms of the MPL, indicate your
166
+ * decision by deleting the provisions above and replace them with the notice
167
+ * and other provisions required by the GPL or the LGPL. If you do not delete
168
+ * the provisions above, a recipient may use your version of this file under
169
+ * the terms of any one of the MPL, the GPL or the LGPL.
170
+ *
171
+ * ***** END LICENSE BLOCK ***** */
172
+
173
+ ace.define('pilot/event', ['require', 'exports', 'module' , 'ace/lib/event'], function(require, exports, module) {
174
+ console.warn("DEPRECATED: 'pilot/event' is deprecated. Use 'ace/lib/event' instead");
175
+ module.exports = require("ace/lib/event");
176
+ });
177
+ /* vim:ts=4:sts=4:sw=4:
178
+ * ***** BEGIN LICENSE BLOCK *****
179
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
180
+ *
181
+ * The contents of this file are subject to the Mozilla Public License Version
182
+ * 1.1 (the "License"); you may not use this file except in compliance with
183
+ * the License. You may obtain a copy of the License at
184
+ * http://www.mozilla.org/MPL/
185
+ *
186
+ * Software distributed under the License is distributed on an "AS IS" basis,
187
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
188
+ * for the specific language governing rights and limitations under the
189
+ * License.
190
+ *
191
+ * The Original Code is Ajax.org Code Editor (ACE).
192
+ *
193
+ * The Initial Developer of the Original Code is
194
+ * Ajax.org B.V.
195
+ * Portions created by the Initial Developer are Copyright (C) 2010
196
+ * the Initial Developer. All Rights Reserved.
197
+ *
198
+ * Contributor(s):
199
+ * Fabian Jakobs <fabian AT ajax DOT org>
200
+ *
201
+ * Alternatively, the contents of this file may be used under the terms of
202
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
203
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
204
+ * in which case the provisions of the GPL or the LGPL are applicable instead
205
+ * of those above. If you wish to allow use of your version of this file only
206
+ * under the terms of either the GPL or the LGPL, and not to allow others to
207
+ * use your version of this file under the terms of the MPL, indicate your
208
+ * decision by deleting the provisions above and replace them with the notice
209
+ * and other provisions required by the GPL or the LGPL. If you do not delete
210
+ * the provisions above, a recipient may use your version of this file under
211
+ * the terms of any one of the MPL, the GPL or the LGPL.
212
+ *
213
+ * ***** END LICENSE BLOCK ***** */
214
+
215
+ ace.define('pilot/event_emitter', ['require', 'exports', 'module' , 'ace/lib/event_emitter'], function(require, exports, module) {
216
+ console.warn("DEPRECATED: 'pilot/event_emitter' is deprecated. Use 'ace/lib/event_emitter' instead");
217
+ module.exports = require("ace/lib/event_emitter");
218
+ });
219
+ /* vim:ts=4:sts=4:sw=4:
220
+ * ***** BEGIN LICENSE BLOCK *****
221
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
222
+ *
223
+ * The contents of this file are subject to the Mozilla Public License Version
224
+ * 1.1 (the "License"); you may not use this file except in compliance with
225
+ * the License. You may obtain a copy of the License at
226
+ * http://www.mozilla.org/MPL/
227
+ *
228
+ * Software distributed under the License is distributed on an "AS IS" basis,
229
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
230
+ * for the specific language governing rights and limitations under the
231
+ * License.
232
+ *
233
+ * The Original Code is Ajax.org Code Editor (ACE).
234
+ *
235
+ * The Initial Developer of the Original Code is
236
+ * Ajax.org B.V.
237
+ * Portions created by the Initial Developer are Copyright (C) 2010
238
+ * the Initial Developer. All Rights Reserved.
239
+ *
240
+ * Contributor(s):
241
+ * Fabian Jakobs <fabian AT ajax DOT org>
242
+ *
243
+ * Alternatively, the contents of this file may be used under the terms of
244
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
245
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
246
+ * in which case the provisions of the GPL or the LGPL are applicable instead
247
+ * of those above. If you wish to allow use of your version of this file only
248
+ * under the terms of either the GPL or the LGPL, and not to allow others to
249
+ * use your version of this file under the terms of the MPL, indicate your
250
+ * decision by deleting the provisions above and replace them with the notice
251
+ * and other provisions required by the GPL or the LGPL. If you do not delete
252
+ * the provisions above, a recipient may use your version of this file under
253
+ * the terms of any one of the MPL, the GPL or the LGPL.
254
+ *
255
+ * ***** END LICENSE BLOCK ***** */
256
+
257
+ ace.define('pilot/fixoldbrowsers', ['require', 'exports', 'module' , 'ace/lib/fixoldbrowsers'], function(require, exports, module) {
258
+ console.warn("DEPRECATED: 'pilot/fixoldbrowsers' is deprecated. Use 'ace/lib/fixoldbrowsers' instead");
259
+ module.exports = require("ace/lib/fixoldbrowsers");
260
+ });
261
+ /* vim:ts=4:sts=4:sw=4:
262
+ * ***** BEGIN LICENSE BLOCK *****
263
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
264
+ *
265
+ * The contents of this file are subject to the Mozilla Public License Version
266
+ * 1.1 (the "License"); you may not use this file except in compliance with
267
+ * the License. You may obtain a copy of the License at
268
+ * http://www.mozilla.org/MPL/
269
+ *
270
+ * Software distributed under the License is distributed on an "AS IS" basis,
271
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
272
+ * for the specific language governing rights and limitations under the
273
+ * License.
274
+ *
275
+ * The Original Code is Ajax.org Code Editor (ACE).
276
+ *
277
+ * The Initial Developer of the Original Code is
278
+ * Ajax.org B.V.
279
+ * Portions created by the Initial Developer are Copyright (C) 2010
280
+ * the Initial Developer. All Rights Reserved.
281
+ *
282
+ * Contributor(s):
283
+ * Fabian Jakobs <fabian AT ajax DOT org>
284
+ *
285
+ * Alternatively, the contents of this file may be used under the terms of
286
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
287
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
288
+ * in which case the provisions of the GPL or the LGPL are applicable instead
289
+ * of those above. If you wish to allow use of your version of this file only
290
+ * under the terms of either the GPL or the LGPL, and not to allow others to
291
+ * use your version of this file under the terms of the MPL, indicate your
292
+ * decision by deleting the provisions above and replace them with the notice
293
+ * and other provisions required by the GPL or the LGPL. If you do not delete
294
+ * the provisions above, a recipient may use your version of this file under
295
+ * the terms of any one of the MPL, the GPL or the LGPL.
296
+ *
297
+ * ***** END LICENSE BLOCK ***** */
298
+
299
+ ace.define('pilot/keys', ['require', 'exports', 'module' , 'ace/lib/keys'], function(require, exports, module) {
300
+ console.warn("DEPRECATED: 'pilot/keys' is deprecated. Use 'ace/lib/keys' instead");
301
+ module.exports = require("ace/lib/keys");
302
+ });
303
+ /* vim:ts=4:sts=4:sw=4:
304
+ * ***** BEGIN LICENSE BLOCK *****
305
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
306
+ *
307
+ * The contents of this file are subject to the Mozilla Public License Version
308
+ * 1.1 (the "License"); you may not use this file except in compliance with
309
+ * the License. You may obtain a copy of the License at
310
+ * http://www.mozilla.org/MPL/
311
+ *
312
+ * Software distributed under the License is distributed on an "AS IS" basis,
313
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
314
+ * for the specific language governing rights and limitations under the
315
+ * License.
316
+ *
317
+ * The Original Code is Ajax.org Code Editor (ACE).
318
+ *
319
+ * The Initial Developer of the Original Code is
320
+ * Ajax.org B.V.
321
+ * Portions created by the Initial Developer are Copyright (C) 2010
322
+ * the Initial Developer. All Rights Reserved.
323
+ *
324
+ * Contributor(s):
325
+ * Fabian Jakobs <fabian AT ajax DOT org>
326
+ *
327
+ * Alternatively, the contents of this file may be used under the terms of
328
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
329
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
330
+ * in which case the provisions of the GPL or the LGPL are applicable instead
331
+ * of those above. If you wish to allow use of your version of this file only
332
+ * under the terms of either the GPL or the LGPL, and not to allow others to
333
+ * use your version of this file under the terms of the MPL, indicate your
334
+ * decision by deleting the provisions above and replace them with the notice
335
+ * and other provisions required by the GPL or the LGPL. If you do not delete
336
+ * the provisions above, a recipient may use your version of this file under
337
+ * the terms of any one of the MPL, the GPL or the LGPL.
338
+ *
339
+ * ***** END LICENSE BLOCK ***** */
340
+
341
+ ace.define('pilot/lang', ['require', 'exports', 'module' , 'ace/lib/lang'], function(require, exports, module) {
342
+ console.warn("DEPRECATED: 'pilot/lang' is deprecated. Use 'ace/lib/lang' instead");
343
+ module.exports = require("ace/lib/lang");
344
+ });
345
+ /* vim:ts=4:sts=4:sw=4:
346
+ * ***** BEGIN LICENSE BLOCK *****
347
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
348
+ *
349
+ * The contents of this file are subject to the Mozilla Public License Version
350
+ * 1.1 (the "License"); you may not use this file except in compliance with
351
+ * the License. You may obtain a copy of the License at
352
+ * http://www.mozilla.org/MPL/
353
+ *
354
+ * Software distributed under the License is distributed on an "AS IS" basis,
355
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
356
+ * for the specific language governing rights and limitations under the
357
+ * License.
358
+ *
359
+ * The Original Code is Ajax.org Code Editor (ACE).
360
+ *
361
+ * The Initial Developer of the Original Code is
362
+ * Ajax.org B.V.
363
+ * Portions created by the Initial Developer are Copyright (C) 2010
364
+ * the Initial Developer. All Rights Reserved.
365
+ *
366
+ * Contributor(s):
367
+ * Fabian Jakobs <fabian AT ajax DOT org>
368
+ *
369
+ * Alternatively, the contents of this file may be used under the terms of
370
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
371
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
372
+ * in which case the provisions of the GPL or the LGPL are applicable instead
373
+ * of those above. If you wish to allow use of your version of this file only
374
+ * under the terms of either the GPL or the LGPL, and not to allow others to
375
+ * use your version of this file under the terms of the MPL, indicate your
376
+ * decision by deleting the provisions above and replace them with the notice
377
+ * and other provisions required by the GPL or the LGPL. If you do not delete
378
+ * the provisions above, a recipient may use your version of this file under
379
+ * the terms of any one of the MPL, the GPL or the LGPL.
380
+ *
381
+ * ***** END LICENSE BLOCK ***** */
382
+
383
+ ace.define('pilot/oop', ['require', 'exports', 'module' , 'ace/lib/oop'], function(require, exports, module) {
384
+ console.warn("DEPRECATED: 'pilot/oop' is deprecated. Use 'ace/lib/oop' instead");
385
+ module.exports = require("ace/lib/oop");
386
+ });
387
+ /* vim:ts=4:sts=4:sw=4:
388
+ * ***** BEGIN LICENSE BLOCK *****
389
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
390
+ *
391
+ * The contents of this file are subject to the Mozilla Public License Version
392
+ * 1.1 (the "License"); you may not use this file except in compliance with
393
+ * the License. You may obtain a copy of the License at
394
+ * http://www.mozilla.org/MPL/
395
+ *
396
+ * Software distributed under the License is distributed on an "AS IS" basis,
397
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
398
+ * for the specific language governing rights and limitations under the
399
+ * License.
400
+ *
401
+ * The Original Code is Ajax.org Code Editor (ACE).
402
+ *
403
+ * The Initial Developer of the Original Code is
404
+ * Ajax.org B.V.
405
+ * Portions created by the Initial Developer are Copyright (C) 2010
406
+ * the Initial Developer. All Rights Reserved.
407
+ *
408
+ * Contributor(s):
409
+ * Fabian Jakobs <fabian AT ajax DOT org>
410
+ *
411
+ * Alternatively, the contents of this file may be used under the terms of
412
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
413
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
414
+ * in which case the provisions of the GPL or the LGPL are applicable instead
415
+ * of those above. If you wish to allow use of your version of this file only
416
+ * under the terms of either the GPL or the LGPL, and not to allow others to
417
+ * use your version of this file under the terms of the MPL, indicate your
418
+ * decision by deleting the provisions above and replace them with the notice
419
+ * and other provisions required by the GPL or the LGPL. If you do not delete
420
+ * the provisions above, a recipient may use your version of this file under
421
+ * the terms of any one of the MPL, the GPL or the LGPL.
422
+ *
423
+ * ***** END LICENSE BLOCK ***** */
424
+
425
+ ace.define('pilot/useragent', ['require', 'exports', 'module' , 'ace/lib/useragent'], function(require, exports, module) {
426
+ console.warn("DEPRECATED: 'pilot/useragent' is deprecated. Use 'ace/lib/useragent' instead");
427
+ module.exports = require("ace/lib/useragent");
428
+ });
429
+ /* vim:ts=4:sts=4:sw=4:
430
+ * ***** BEGIN LICENSE BLOCK *****
431
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
432
+ *
433
+ * The contents of this file are subject to the Mozilla Public License Version
434
+ * 1.1 (the "License"); you may not use this file except in compliance with
435
+ * the License. You may obtain a copy of the License at
436
+ * http://www.mozilla.org/MPL/
437
+ *
438
+ * Software distributed under the License is distributed on an "AS IS" basis,
439
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
440
+ * for the specific language governing rights and limitations under the
441
+ * License.
442
+ *
443
+ * The Original Code is Ajax.org Code Editor (ACE).
444
+ *
445
+ * The Initial Developer of the Original Code is
446
+ * Ajax.org B.V.
447
+ * Portions created by the Initial Developer are Copyright (C) 2010
448
+ * the Initial Developer. All Rights Reserved.
449
+ *
450
+ * Contributor(s):
451
+ * Fabian Jakobs <fabian AT ajax DOT org>
452
+ *
453
+ * Alternatively, the contents of this file may be used under the terms of
454
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
455
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
456
+ * in which case the provisions of the GPL or the LGPL are applicable instead
457
+ * of those above. If you wish to allow use of your version of this file only
458
+ * under the terms of either the GPL or the LGPL, and not to allow others to
459
+ * use your version of this file under the terms of the MPL, indicate your
460
+ * decision by deleting the provisions above and replace them with the notice
461
+ * and other provisions required by the GPL or the LGPL. If you do not delete
462
+ * the provisions above, a recipient may use your version of this file under
463
+ * the terms of any one of the MPL, the GPL or the LGPL.
464
+ *
465
+ * ***** END LICENSE BLOCK ***** */
466
+
467
+ ace.define('pilot/canon', ['require', 'exports', 'module' ], function(require, exports, module) {
468
+ console.warn("DEPRECATED: 'pilot/canon' is deprecated.");
469
+ //return require("ace/lib/dom");
470
+
471
+ exports.addCommand = function() {
472
+ console.warn("DEPRECATED: 'canon.addCommand()' is deprecated. Use 'editor.commands.addCommand(command)' instead.");
473
+ console.trace();
474
+ }
475
+
476
+ exports.removeCommand = function() {
477
+ console.warn("DEPRECATED: 'canon.removeCommand()' is deprecated. Use 'editor.commands.removeCommand(command)' instead.");
478
+ console.trace();
479
+ }
480
+ });