jquery-ace-rails 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/jquery-ace-rails/version.rb +1 -1
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/ace.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/ext-static_highlight.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/ext-textarea.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/keybinding-emacs.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/keybinding-vim.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-abap.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-asciidoc.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-c9search.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-c_cpp.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-clojure.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-coffee.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-coldfusion.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-csharp.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-css.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-dart.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-diff.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-dot.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-glsl.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-golang.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-groovy.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-haml.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-haxe.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-html.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-jade.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-java.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-javascript.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-json.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-jsp.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-jsx.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-latex.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-less.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-liquid.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-lisp.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-lua.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-luapage.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-lucene.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-makefile.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-markdown.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-objectivec.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-ocaml.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-perl.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-pgsql.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-php.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-powershell.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-python.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-r.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-rdoc.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-rhtml.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-ruby.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-scad.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-scala.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-scss.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-sh.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-sql.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-stylus.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-svg.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-tcl.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-tex.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-text.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-textile.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-typescript.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-xml.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-xquery.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-yaml.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-ambiance.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-chaos.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-chrome.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-clouds.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-clouds_midnight.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-cobalt.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-crimson_editor.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-dawn.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-dreamweaver.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-eclipse.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-github.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-idle_fingers.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-kr.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-merbivore.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-merbivore_soft.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-mono_industrial.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-monokai.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-pastel_on_dark.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-solarized_dark.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-solarized_light.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-textmate.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-tomorrow.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-tomorrow_night.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-tomorrow_night_blue.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-tomorrow_night_bright.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-tomorrow_night_eighties.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-twilight.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-vibrant_ink.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-xcode.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/worker-coffee.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/worker-css.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/worker-javascript.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/worker-json.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/worker-xquery.js +0 -0
- data/vendor/assets/javascripts/{jquery-ace/jquery-ace.coffee → jquery-ace.coffee} +1 -1
- data/vendor/assets/javascripts/{jquery-ace/jquery-ace.js → jquery-ace.js} +1 -1
- data/vendor/assets/javascripts/{jquery-ace/jquery-ace.min.js → jquery-ace.min.js} +1 -1
- data/vendor/assets/javascripts/{jquery-ace/vendor → jquery}/jquery-1.8.3.min.js +0 -0
- metadata +104 -202
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/ace.js +0 -14262
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/ext-static_highlight.js +0 -96
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/ext-textarea.js +0 -591
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/keybinding-emacs.js +0 -364
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/keybinding-vim.js +0 -1646
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-abap.js +0 -259
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-asciidoc.js +0 -372
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-c9search.js +0 -187
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-c_cpp.js +0 -765
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-clojure.js +0 -325
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-coffee.js +0 -520
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-coldfusion.js +0 -1725
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-csharp.js +0 -605
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-css.js +0 -680
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-dart.js +0 -279
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-diff.js +0 -163
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-dot.js +0 -348
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-glsl.js +0 -838
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-golang.js +0 -660
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-groovy.js +0 -1082
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-haml.js +0 -440
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-haxe.js +0 -610
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-html.js +0 -1850
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-jade.js +0 -2035
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-java.js +0 -1041
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-javascript.js +0 -921
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-json.js +0 -574
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-jsp.js +0 -1371
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-jsx.js +0 -635
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-latex.js +0 -217
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-less.js +0 -394
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-liquid.js +0 -921
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-lisp.js +0 -142
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-lua.js +0 -609
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-luapage.js +0 -2463
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-lucene.js +0 -64
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-makefile.js +0 -314
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-markdown.js +0 -2228
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-objectivec.js +0 -655
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-ocaml.js +0 -448
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-perl.js +0 -319
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-pgsql.js +0 -928
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-php.js +0 -2299
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-powershell.js +0 -611
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-python.js +0 -290
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-r.js +0 -410
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-rdoc.js +0 -189
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-rhtml.js +0 -2138
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-ruby.js +0 -410
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-scad.js +0 -698
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-scala.js +0 -1070
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-scss.js +0 -416
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-sh.js +0 -232
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-sql.js +0 -145
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-stylus.js +0 -474
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-svg.js +0 -1490
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-tcl.js +0 -342
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-tex.js +0 -171
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-text.js +0 -0
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-textile.js +0 -175
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-typescript.js +0 -1011
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-xml.js +0 -792
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-xquery.js +0 -676
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-yaml.js +0 -298
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-ambiance.js +0 -202
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-chaos.js +0 -167
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-chrome.js +0 -161
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-clouds.js +0 -135
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-clouds_midnight.js +0 -136
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-cobalt.js +0 -150
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-crimson_editor.js +0 -154
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-dawn.js +0 -146
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-dreamweaver.js +0 -173
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-eclipse.js +0 -122
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-github.js +0 -136
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-idle_fingers.js +0 -136
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-kr.js +0 -143
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-merbivore.js +0 -135
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-merbivore_soft.js +0 -136
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-mono_industrial.js +0 -148
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-monokai.js +0 -140
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-pastel_on_dark.js +0 -148
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-solarized_dark.js +0 -128
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-solarized_light.js +0 -131
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-textmate.js +0 -163
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-tomorrow.js +0 -147
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-tomorrow_night.js +0 -147
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-tomorrow_night_blue.js +0 -145
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-tomorrow_night_bright.js +0 -147
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-tomorrow_night_eighties.js +0 -144
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-twilight.js +0 -147
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-vibrant_ink.js +0 -131
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-xcode.js +0 -125
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/worker-coffee.js +0 -6985
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/worker-css.js +0 -7741
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/worker-javascript.js +0 -6387
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/worker-json.js +0 -2228
- data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/worker-xquery.js +0 -21719
@@ -1,325 +0,0 @@
|
|
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/mode/clojure', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/clojure_highlight_rules', 'ace/mode/matching_parens_outdent', 'ace/range'], function(require, exports, module) {
|
32
|
-
|
33
|
-
|
34
|
-
var oop = require("../lib/oop");
|
35
|
-
var TextMode = require("./text").Mode;
|
36
|
-
var Tokenizer = require("../tokenizer").Tokenizer;
|
37
|
-
var ClojureHighlightRules = require("./clojure_highlight_rules").ClojureHighlightRules;
|
38
|
-
var MatchingParensOutdent = require("./matching_parens_outdent").MatchingParensOutdent;
|
39
|
-
var Range = require("../range").Range;
|
40
|
-
|
41
|
-
var Mode = function() {
|
42
|
-
this.$tokenizer = new Tokenizer(new ClojureHighlightRules().getRules());
|
43
|
-
this.$outdent = new MatchingParensOutdent();
|
44
|
-
};
|
45
|
-
oop.inherits(Mode, TextMode);
|
46
|
-
|
47
|
-
(function() {
|
48
|
-
|
49
|
-
this.toggleCommentLines = function(state, doc, startRow, endRow) {
|
50
|
-
var outdent = true;
|
51
|
-
var re = /^(\s*)#/;
|
52
|
-
|
53
|
-
for (var i=startRow; i<= endRow; i++) {
|
54
|
-
if (!re.test(doc.getLine(i))) {
|
55
|
-
outdent = false;
|
56
|
-
break;
|
57
|
-
}
|
58
|
-
}
|
59
|
-
|
60
|
-
if (outdent) {
|
61
|
-
var deleteRange = new Range(0, 0, 0, 0);
|
62
|
-
for (var i=startRow; i<= endRow; i++)
|
63
|
-
{
|
64
|
-
var line = doc.getLine(i);
|
65
|
-
var m = line.match(re);
|
66
|
-
deleteRange.start.row = i;
|
67
|
-
deleteRange.end.row = i;
|
68
|
-
deleteRange.end.column = m[0].length;
|
69
|
-
doc.replace(deleteRange, m[1]);
|
70
|
-
}
|
71
|
-
}
|
72
|
-
else {
|
73
|
-
doc.indentRows(startRow, endRow, ";");
|
74
|
-
}
|
75
|
-
};
|
76
|
-
|
77
|
-
this.getNextLineIndent = function(state, line, tab) {
|
78
|
-
var indent = this.$getIndent(line);
|
79
|
-
|
80
|
-
var tokenizedLine = this.$tokenizer.getLineTokens(line, state);
|
81
|
-
var tokens = tokenizedLine.tokens;
|
82
|
-
|
83
|
-
if (tokens.length && tokens[tokens.length-1].type == "comment") {
|
84
|
-
return indent;
|
85
|
-
}
|
86
|
-
|
87
|
-
if (state == "start") {
|
88
|
-
var match = line.match(/[\(\[]/);
|
89
|
-
if (match) {
|
90
|
-
indent += " ";
|
91
|
-
}
|
92
|
-
match = line.match(/[\)]/);
|
93
|
-
if (match) {
|
94
|
-
indent = "";
|
95
|
-
}
|
96
|
-
}
|
97
|
-
|
98
|
-
return indent;
|
99
|
-
};
|
100
|
-
|
101
|
-
this.checkOutdent = function(state, line, input) {
|
102
|
-
return this.$outdent.checkOutdent(line, input);
|
103
|
-
};
|
104
|
-
|
105
|
-
this.autoOutdent = function(state, doc, row) {
|
106
|
-
this.$outdent.autoOutdent(doc, row);
|
107
|
-
};
|
108
|
-
|
109
|
-
}).call(Mode.prototype);
|
110
|
-
|
111
|
-
exports.Mode = Mode;
|
112
|
-
});
|
113
|
-
|
114
|
-
define('ace/mode/clojure_highlight_rules', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text_highlight_rules'], function(require, exports, module) {
|
115
|
-
|
116
|
-
|
117
|
-
var oop = require("../lib/oop");
|
118
|
-
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
var ClojureHighlightRules = function() {
|
123
|
-
|
124
|
-
var builtinFunctions = (
|
125
|
-
'* *1 *2 *3 *agent* *allow-unresolved-vars* *assert* *clojure-version* ' +
|
126
|
-
'*command-line-args* *compile-files* *compile-path* *e *err* *file* ' +
|
127
|
-
'*flush-on-newline* *in* *macro-meta* *math-context* *ns* *out* ' +
|
128
|
-
'*print-dup* *print-length* *print-level* *print-meta* *print-readably* ' +
|
129
|
-
'*read-eval* *source-path* *use-context-classloader* ' +
|
130
|
-
'*warn-on-reflection* + - -> ->> .. / < <= = ' +
|
131
|
-
'== > > >= >= accessor aclone ' +
|
132
|
-
'add-classpath add-watch agent agent-errors aget alength alias all-ns ' +
|
133
|
-
'alter alter-meta! alter-var-root amap ancestors and apply areduce ' +
|
134
|
-
'array-map aset aset-boolean aset-byte aset-char aset-double aset-float ' +
|
135
|
-
'aset-int aset-long aset-short assert assoc assoc! assoc-in associative? ' +
|
136
|
-
'atom await await-for await1 bases bean bigdec bigint binding bit-and ' +
|
137
|
-
'bit-and-not bit-clear bit-flip bit-not bit-or bit-set bit-shift-left ' +
|
138
|
-
'bit-shift-right bit-test bit-xor boolean boolean-array booleans ' +
|
139
|
-
'bound-fn bound-fn* butlast byte byte-array bytes cast char char-array ' +
|
140
|
-
'char-escape-string char-name-string char? chars chunk chunk-append ' +
|
141
|
-
'chunk-buffer chunk-cons chunk-first chunk-next chunk-rest chunked-seq? ' +
|
142
|
-
'class class? clear-agent-errors clojure-version coll? comment commute ' +
|
143
|
-
'comp comparator compare compare-and-set! compile complement concat cond ' +
|
144
|
-
'condp conj conj! cons constantly construct-proxy contains? count ' +
|
145
|
-
'counted? create-ns create-struct cycle dec decimal? declare definline ' +
|
146
|
-
'defmacro defmethod defmulti defn defn- defonce defstruct delay delay? ' +
|
147
|
-
'deliver deref derive descendants destructure disj disj! dissoc dissoc! ' +
|
148
|
-
'distinct distinct? doall doc dorun doseq dosync dotimes doto double ' +
|
149
|
-
'double-array doubles drop drop-last drop-while empty empty? ensure ' +
|
150
|
-
'enumeration-seq eval even? every? false? ffirst file-seq filter find ' +
|
151
|
-
'find-doc find-ns find-var first float float-array float? floats flush ' +
|
152
|
-
'fn fn? fnext for force format future future-call future-cancel ' +
|
153
|
-
'future-cancelled? future-done? future? gen-class gen-interface gensym ' +
|
154
|
-
'get get-in get-method get-proxy-class get-thread-bindings get-validator ' +
|
155
|
-
'hash hash-map hash-set identical? identity if-let if-not ifn? import ' +
|
156
|
-
'in-ns inc init-proxy instance? int int-array integer? interleave intern ' +
|
157
|
-
'interpose into into-array ints io! isa? iterate iterator-seq juxt key ' +
|
158
|
-
'keys keyword keyword? last lazy-cat lazy-seq let letfn line-seq list ' +
|
159
|
-
'list* list? load load-file load-reader load-string loaded-libs locking ' +
|
160
|
-
'long long-array longs loop macroexpand macroexpand-1 make-array ' +
|
161
|
-
'make-hierarchy map map? mapcat max max-key memfn memoize merge ' +
|
162
|
-
'merge-with meta method-sig methods min min-key mod name namespace neg? ' +
|
163
|
-
'newline next nfirst nil? nnext not not-any? not-empty not-every? not= ' +
|
164
|
-
'ns ns-aliases ns-imports ns-interns ns-map ns-name ns-publics ' +
|
165
|
-
'ns-refers ns-resolve ns-unalias ns-unmap nth nthnext num number? odd? ' +
|
166
|
-
'or parents partial partition pcalls peek persistent! pmap pop pop! ' +
|
167
|
-
'pop-thread-bindings pos? pr pr-str prefer-method prefers ' +
|
168
|
-
'primitives-classnames print print-ctor print-doc print-dup print-method ' +
|
169
|
-
'print-namespace-doc print-simple print-special-doc print-str printf ' +
|
170
|
-
'println println-str prn prn-str promise proxy proxy-call-with-super ' +
|
171
|
-
'proxy-mappings proxy-name proxy-super push-thread-bindings pvalues quot ' +
|
172
|
-
'rand rand-int range ratio? rational? rationalize re-find re-groups ' +
|
173
|
-
're-matcher re-matches re-pattern re-seq read read-line read-string ' +
|
174
|
-
'reduce ref ref-history-count ref-max-history ref-min-history ref-set ' +
|
175
|
-
'refer refer-clojure release-pending-sends rem remove remove-method ' +
|
176
|
-
'remove-ns remove-watch repeat repeatedly replace replicate require ' +
|
177
|
-
'reset! reset-meta! resolve rest resultset-seq reverse reversible? rseq ' +
|
178
|
-
'rsubseq second select-keys send send-off seq seq? seque sequence ' +
|
179
|
-
'sequential? set set-validator! set? short short-array shorts ' +
|
180
|
-
'shutdown-agents slurp some sort sort-by sorted-map sorted-map-by ' +
|
181
|
-
'sorted-set sorted-set-by sorted? special-form-anchor special-symbol? ' +
|
182
|
-
'split-at split-with str stream? string? struct struct-map subs subseq ' +
|
183
|
-
'subvec supers swap! symbol symbol? sync syntax-symbol-anchor take ' +
|
184
|
-
'take-last take-nth take-while test the-ns time to-array to-array-2d ' +
|
185
|
-
'trampoline transient tree-seq true? type unchecked-add unchecked-dec ' +
|
186
|
-
'unchecked-divide unchecked-inc unchecked-multiply unchecked-negate ' +
|
187
|
-
'unchecked-remainder unchecked-subtract underive unquote ' +
|
188
|
-
'unquote-splicing update-in update-proxy use val vals var-get var-set ' +
|
189
|
-
'var? vary-meta vec vector vector? when when-first when-let when-not ' +
|
190
|
-
'while with-bindings with-bindings* with-in-str with-loading-context ' +
|
191
|
-
'with-local-vars with-meta with-open with-out-str with-precision xml-seq ' +
|
192
|
-
'zero? zipmap'
|
193
|
-
);
|
194
|
-
|
195
|
-
var keywords = ('throw try var ' +
|
196
|
-
'def do fn if let loop monitor-enter monitor-exit new quote recur set!'
|
197
|
-
);
|
198
|
-
|
199
|
-
var buildinConstants = ("true false nil");
|
200
|
-
|
201
|
-
var keywordMapper = this.createKeywordMapper({
|
202
|
-
"keyword": keywords,
|
203
|
-
"constant.language": buildinConstants,
|
204
|
-
"support.function": builtinFunctions
|
205
|
-
}, "identifier", false, " ");
|
206
|
-
|
207
|
-
this.$rules = {
|
208
|
-
"start" : [
|
209
|
-
{
|
210
|
-
token : "comment",
|
211
|
-
regex : ";.*$"
|
212
|
-
}, {
|
213
|
-
token : "keyword", //parens
|
214
|
-
regex : "[\\(|\\)]"
|
215
|
-
}, {
|
216
|
-
token : "keyword", //lists
|
217
|
-
regex : "[\\'\\(]"
|
218
|
-
}, {
|
219
|
-
token : "keyword", //vectors
|
220
|
-
regex : "[\\[|\\]]"
|
221
|
-
}, {
|
222
|
-
token : "keyword", //sets and maps
|
223
|
-
regex : "[\\{|\\}|\\#\\{|\\#\\}]"
|
224
|
-
}, {
|
225
|
-
token : "keyword", // ampersands
|
226
|
-
regex : '[\\&]'
|
227
|
-
}, {
|
228
|
-
token : "keyword", // metadata
|
229
|
-
regex : '[\\#\\^\\{]'
|
230
|
-
}, {
|
231
|
-
token : "keyword", // anonymous fn syntactic sugar
|
232
|
-
regex : '[\\%]'
|
233
|
-
}, {
|
234
|
-
token : "keyword", // deref reader macro
|
235
|
-
regex : '[@]'
|
236
|
-
}, {
|
237
|
-
token : "constant.numeric", // hex
|
238
|
-
regex : "0[xX][0-9a-fA-F]+\\b"
|
239
|
-
}, {
|
240
|
-
token : "constant.numeric", // float
|
241
|
-
regex : "[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"
|
242
|
-
}, {
|
243
|
-
token : "constant.language",
|
244
|
-
regex : '[!|\\$|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+||=|!=|<=|>=|<>|<|>|!|&&]'
|
245
|
-
}, {
|
246
|
-
token : keywordMapper,
|
247
|
-
regex : "[a-zA-Z_$][a-zA-Z0-9_$\\-]*\\b"
|
248
|
-
}, {
|
249
|
-
token : "string", // single line
|
250
|
-
regex : '"',
|
251
|
-
next: "string"
|
252
|
-
}, {
|
253
|
-
token : "string", // symbol
|
254
|
-
regex : /:[\w*+!\-_?:\/]+/
|
255
|
-
}, {
|
256
|
-
token : "string.regexp", //Regular Expressions
|
257
|
-
regex : '/#"(?:\\.|(?:\\\")|[^\""\n])*"/g'
|
258
|
-
}
|
259
|
-
|
260
|
-
],
|
261
|
-
"string" : [
|
262
|
-
{
|
263
|
-
token : "constant.language.escape",
|
264
|
-
regex : "\\\\.|\\\\$"
|
265
|
-
}, {
|
266
|
-
token : "string",
|
267
|
-
regex : '[^"\\\\]+'
|
268
|
-
}, {
|
269
|
-
token : "string",
|
270
|
-
regex : '"',
|
271
|
-
next : "start"
|
272
|
-
}
|
273
|
-
]
|
274
|
-
};
|
275
|
-
};
|
276
|
-
|
277
|
-
oop.inherits(ClojureHighlightRules, TextHighlightRules);
|
278
|
-
|
279
|
-
exports.ClojureHighlightRules = ClojureHighlightRules;
|
280
|
-
});
|
281
|
-
|
282
|
-
define('ace/mode/matching_parens_outdent', ['require', 'exports', 'module' , 'ace/range'], function(require, exports, module) {
|
283
|
-
|
284
|
-
|
285
|
-
var Range = require("../range").Range;
|
286
|
-
|
287
|
-
var MatchingParensOutdent = function() {};
|
288
|
-
|
289
|
-
(function() {
|
290
|
-
|
291
|
-
this.checkOutdent = function(line, input) {
|
292
|
-
if (! /^\s+$/.test(line))
|
293
|
-
return false;
|
294
|
-
|
295
|
-
return /^\s*\)/.test(input);
|
296
|
-
};
|
297
|
-
|
298
|
-
this.autoOutdent = function(doc, row) {
|
299
|
-
var line = doc.getLine(row);
|
300
|
-
var match = line.match(/^(\s*\))/);
|
301
|
-
|
302
|
-
if (!match) return 0;
|
303
|
-
|
304
|
-
var column = match[1].length;
|
305
|
-
var openBracePos = doc.findMatchingBracket({row: row, column: column});
|
306
|
-
|
307
|
-
if (!openBracePos || openBracePos.row == row) return 0;
|
308
|
-
|
309
|
-
var indent = this.$getIndent(doc.getLine(openBracePos.row));
|
310
|
-
doc.replace(new Range(row, 0, row, column-1), indent);
|
311
|
-
};
|
312
|
-
|
313
|
-
this.$getIndent = function(line) {
|
314
|
-
var match = line.match(/^(\s+)/);
|
315
|
-
if (match) {
|
316
|
-
return match[1];
|
317
|
-
}
|
318
|
-
|
319
|
-
return "";
|
320
|
-
};
|
321
|
-
|
322
|
-
}).call(MatchingParensOutdent.prototype);
|
323
|
-
|
324
|
-
exports.MatchingParensOutdent = MatchingParensOutdent;
|
325
|
-
});
|
@@ -1,520 +0,0 @@
|
|
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/mode/coffee', ['require', 'exports', 'module' , 'ace/tokenizer', 'ace/mode/coffee_highlight_rules', 'ace/mode/matching_brace_outdent', 'ace/mode/folding/coffee', 'ace/range', 'ace/mode/text', 'ace/worker/worker_client', 'ace/lib/oop'], function(require, exports, module) {
|
32
|
-
|
33
|
-
|
34
|
-
var Tokenizer = require("../tokenizer").Tokenizer;
|
35
|
-
var Rules = require("./coffee_highlight_rules").CoffeeHighlightRules;
|
36
|
-
var Outdent = require("./matching_brace_outdent").MatchingBraceOutdent;
|
37
|
-
var FoldMode = require("./folding/coffee").FoldMode;
|
38
|
-
var Range = require("../range").Range;
|
39
|
-
var TextMode = require("./text").Mode;
|
40
|
-
var WorkerClient = require("../worker/worker_client").WorkerClient;
|
41
|
-
var oop = require("../lib/oop");
|
42
|
-
|
43
|
-
function Mode() {
|
44
|
-
this.$tokenizer = new Tokenizer(new Rules().getRules());
|
45
|
-
this.$outdent = new Outdent();
|
46
|
-
this.foldingRules = new FoldMode();
|
47
|
-
}
|
48
|
-
|
49
|
-
oop.inherits(Mode, TextMode);
|
50
|
-
|
51
|
-
(function() {
|
52
|
-
|
53
|
-
var indenter = /(?:[({[=:]|[-=]>|\b(?:else|switch|try|catch(?:\s*[$A-Za-z_\x7f-\uffff][$\w\x7f-\uffff]*)?|finally))\s*$/;
|
54
|
-
var commentLine = /^(\s*)#/;
|
55
|
-
var hereComment = /^\s*###(?!#)/;
|
56
|
-
var indentation = /^\s*/;
|
57
|
-
|
58
|
-
this.getNextLineIndent = function(state, line, tab) {
|
59
|
-
var indent = this.$getIndent(line);
|
60
|
-
var tokens = this.$tokenizer.getLineTokens(line, state).tokens;
|
61
|
-
|
62
|
-
if (!(tokens.length && tokens[tokens.length - 1].type === 'comment') &&
|
63
|
-
state === 'start' && indenter.test(line))
|
64
|
-
indent += tab;
|
65
|
-
return indent;
|
66
|
-
};
|
67
|
-
|
68
|
-
this.toggleCommentLines = function(state, doc, startRow, endRow){
|
69
|
-
console.log("toggle");
|
70
|
-
var range = new Range(0, 0, 0, 0);
|
71
|
-
for (var i = startRow; i <= endRow; ++i) {
|
72
|
-
var line = doc.getLine(i);
|
73
|
-
if (hereComment.test(line))
|
74
|
-
continue;
|
75
|
-
|
76
|
-
if (commentLine.test(line))
|
77
|
-
line = line.replace(commentLine, '$1');
|
78
|
-
else
|
79
|
-
line = line.replace(indentation, '$&#');
|
80
|
-
|
81
|
-
range.end.row = range.start.row = i;
|
82
|
-
range.end.column = line.length + 1;
|
83
|
-
doc.replace(range, line);
|
84
|
-
}
|
85
|
-
};
|
86
|
-
|
87
|
-
this.checkOutdent = function(state, line, input) {
|
88
|
-
return this.$outdent.checkOutdent(line, input);
|
89
|
-
};
|
90
|
-
|
91
|
-
this.autoOutdent = function(state, doc, row) {
|
92
|
-
this.$outdent.autoOutdent(doc, row);
|
93
|
-
};
|
94
|
-
|
95
|
-
this.createWorker = function(session) {
|
96
|
-
var worker = new WorkerClient(["ace"], "ace/mode/coffee_worker", "Worker");
|
97
|
-
worker.attachToDocument(session.getDocument());
|
98
|
-
|
99
|
-
worker.on("error", function(e) {
|
100
|
-
session.setAnnotations([e.data]);
|
101
|
-
});
|
102
|
-
|
103
|
-
worker.on("ok", function(e) {
|
104
|
-
session.clearAnnotations();
|
105
|
-
});
|
106
|
-
|
107
|
-
return worker;
|
108
|
-
};
|
109
|
-
|
110
|
-
}).call(Mode.prototype);
|
111
|
-
|
112
|
-
exports.Mode = Mode;
|
113
|
-
|
114
|
-
});
|
115
|
-
|
116
|
-
define('ace/mode/coffee_highlight_rules', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text_highlight_rules'], function(require, exports, module) {
|
117
|
-
|
118
|
-
|
119
|
-
var oop = require("../lib/oop");
|
120
|
-
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
|
121
|
-
|
122
|
-
oop.inherits(CoffeeHighlightRules, TextHighlightRules);
|
123
|
-
|
124
|
-
function CoffeeHighlightRules() {
|
125
|
-
var identifier = "[$A-Za-z_\\x7f-\\uffff][$\\w\\x7f-\\uffff]*";
|
126
|
-
var stringfill = {
|
127
|
-
token : "string",
|
128
|
-
regex : ".+"
|
129
|
-
};
|
130
|
-
|
131
|
-
var keywords = (
|
132
|
-
"this|throw|then|try|typeof|super|switch|return|break|by|continue|" +
|
133
|
-
"catch|class|in|instanceof|is|isnt|if|else|extends|for|forown|" +
|
134
|
-
"finally|function|while|when|new|no|not|delete|debugger|do|loop|of|off|" +
|
135
|
-
"or|on|unless|until|and|yes"
|
136
|
-
);
|
137
|
-
|
138
|
-
var langConstant = (
|
139
|
-
"true|false|null|undefined|NaN|Infinity"
|
140
|
-
);
|
141
|
-
|
142
|
-
var illegal = (
|
143
|
-
"case|const|default|function|var|void|with|enum|export|implements|" +
|
144
|
-
"interface|let|package|private|protected|public|static|yield|" +
|
145
|
-
"__hasProp|slice|bind|indexOf"
|
146
|
-
);
|
147
|
-
|
148
|
-
var supportClass = (
|
149
|
-
"Array|Boolean|Date|Function|Number|Object|RegExp|ReferenceError|String|" +
|
150
|
-
"Error|EvalError|InternalError|RangeError|ReferenceError|StopIteration|" +
|
151
|
-
"SyntaxError|TypeError|URIError|" +
|
152
|
-
"ArrayBuffer|Float32Array|Float64Array|Int16Array|Int32Array|Int8Array|" +
|
153
|
-
"Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray"
|
154
|
-
);
|
155
|
-
|
156
|
-
var supportFunction = (
|
157
|
-
"Math|JSON|isNaN|isFinite|parseInt|parseFloat|encodeURI|" +
|
158
|
-
"encodeURIComponent|decodeURI|decodeURIComponent|String|"
|
159
|
-
);
|
160
|
-
|
161
|
-
var variableLanguage = (
|
162
|
-
"window|arguments|prototype|document"
|
163
|
-
);
|
164
|
-
|
165
|
-
var keywordMapper = this.createKeywordMapper({
|
166
|
-
"keyword": keywords,
|
167
|
-
"constant.language": langConstant,
|
168
|
-
"invalid.illegal": illegal,
|
169
|
-
"language.support.class": supportClass,
|
170
|
-
"language.support.function": supportFunction,
|
171
|
-
"variable.language": variableLanguage
|
172
|
-
}, "identifier");
|
173
|
-
|
174
|
-
var functionRules = {
|
175
|
-
"({args})->": {
|
176
|
-
token: ["paren.lparen", "text", "paren.lparen", "text", "variable.parameter", "text", "paren.rparen", "text", "paren.rparen", "text", "storage.type"],
|
177
|
-
regex: "(\\()(\\s*)(\\{)(\\s*)([$@A-Za-z_\\x7f-\\uffff][$@\\w\\s,\\x7f-\\uffff]*)(\\s*)(\\})(\\s*)(\\))(\\s*)([\\-=]>)"
|
178
|
-
},
|
179
|
-
"({})->": {
|
180
|
-
token: ["paren.lparen", "text", "paren.lparen", "text", "paren.rparen", "text", "paren.rparen", "text", "storage.type"],
|
181
|
-
regex: "(\\()(\\s*)(\\{)(\\s*)(\\})(\\s*)(\\))(\\s*)([\\-=]>)"
|
182
|
-
},
|
183
|
-
"(args)->": {
|
184
|
-
token: ["paren.lparen", "text", "variable.parameter", "text", "paren.rparen", "text", "storage.type"],
|
185
|
-
regex: "(\\()(\\s*)([$@A-Za-z_\\x7f-\\uffff][\\s\\x21-\\uffff]*)(\\s*)(\\))(\\s*)([\\-=]>)"
|
186
|
-
},
|
187
|
-
"()->": {
|
188
|
-
token: ["paren.lparen", "text", "paren.rparen", "text", "storage.type"],
|
189
|
-
regex: "(\\()(\\s*)(\\))(\\s*)([\\-=]>)"
|
190
|
-
}
|
191
|
-
};
|
192
|
-
|
193
|
-
this.$rules = {
|
194
|
-
start : [
|
195
|
-
{
|
196
|
-
token : "constant.numeric",
|
197
|
-
regex : "(?:0x[\\da-fA-F]+|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:[eE][+-]?\\d+)?)"
|
198
|
-
}, {
|
199
|
-
token : "string",
|
200
|
-
regex : "'''",
|
201
|
-
next : "qdoc"
|
202
|
-
}, {
|
203
|
-
token : "string",
|
204
|
-
regex : '"""',
|
205
|
-
next : "qqdoc"
|
206
|
-
}, {
|
207
|
-
token : "string",
|
208
|
-
regex : "'",
|
209
|
-
next : "qstring"
|
210
|
-
}, {
|
211
|
-
token : "string",
|
212
|
-
regex : '"',
|
213
|
-
next : "qqstring"
|
214
|
-
}, {
|
215
|
-
token : "string",
|
216
|
-
regex : "`",
|
217
|
-
next : "js"
|
218
|
-
}, {
|
219
|
-
token : "string.regex",
|
220
|
-
regex : "///",
|
221
|
-
next : "heregex"
|
222
|
-
}, {
|
223
|
-
token : "string.regex",
|
224
|
-
regex : /(?:\/(?![\s=])[^[\/\n\\]*(?:(?:\\[\s\S]|\[[^\]\n\\]*(?:\\[\s\S][^\]\n\\]*)*])[^[\/\n\\]*)*\/)(?:[imgy]{0,4})(?!\w)/
|
225
|
-
}, {
|
226
|
-
token : "comment",
|
227
|
-
regex : "###(?!#)",
|
228
|
-
next : "comment"
|
229
|
-
}, {
|
230
|
-
token : "comment",
|
231
|
-
regex : "#.*"
|
232
|
-
}, {
|
233
|
-
token : [
|
234
|
-
"punctuation.operator", "identifier"
|
235
|
-
],
|
236
|
-
regex : "(\\.)(" + illegal + ")"
|
237
|
-
}, {
|
238
|
-
token : "punctuation.operator",
|
239
|
-
regex : "\\."
|
240
|
-
}, {
|
241
|
-
token : [
|
242
|
-
"keyword", "text", "language.support.class", "text", "keyword", "text", "language.support.class"
|
243
|
-
],
|
244
|
-
regex : "(class)(\\s+)(" + identifier + ")(\\s+)(extends)(\\s+)(" + identifier + ")"
|
245
|
-
}, {
|
246
|
-
token : [
|
247
|
-
"keyword", "text", "language.support.class"
|
248
|
-
],
|
249
|
-
regex : "(class)(\\s+)(" + identifier + ")"
|
250
|
-
}, {
|
251
|
-
token : [
|
252
|
-
"entity.name.function", "text", "keyword.operator", "text"
|
253
|
-
].concat(functionRules["({args})->"].token),
|
254
|
-
regex : "(" + identifier + ")(\\s*)(=)(\\s*)" + functionRules["({args})->"].regex
|
255
|
-
}, {
|
256
|
-
token : [
|
257
|
-
"entity.name.function", "text", "punctuation.operator", "text"
|
258
|
-
].concat(functionRules["({args})->"].token),
|
259
|
-
regex : "(" + identifier + ")(\\s*)(:)(\\s*)" + functionRules["({args})->"].regex
|
260
|
-
}, {
|
261
|
-
token : [
|
262
|
-
"entity.name.function", "text", "keyword.operator", "text"
|
263
|
-
].concat(functionRules["({})->"].token),
|
264
|
-
regex : "(" + identifier + ")(\\s*)(=)(\\s*)" + functionRules["({})->"].regex
|
265
|
-
}, {
|
266
|
-
token : [
|
267
|
-
"entity.name.function", "text", "punctuation.operator", "text"
|
268
|
-
].concat(functionRules["({})->"].token),
|
269
|
-
regex : "(" + identifier + ")(\\s*)(:)(\\s*)" + functionRules["({})->"].regex
|
270
|
-
}, {
|
271
|
-
token : [
|
272
|
-
"entity.name.function", "text", "keyword.operator", "text"
|
273
|
-
].concat(functionRules["(args)->"].token),
|
274
|
-
regex : "(" + identifier + ")(\\s*)(=)(\\s*)" + functionRules["(args)->"].regex
|
275
|
-
}, {
|
276
|
-
token : [
|
277
|
-
"entity.name.function", "text", "punctuation.operator", "text"
|
278
|
-
].concat(functionRules["(args)->"].token),
|
279
|
-
regex : "(" + identifier + ")(\\s*)(:)(\\s*)" + functionRules["(args)->"].regex
|
280
|
-
}, {
|
281
|
-
token : [
|
282
|
-
"entity.name.function", "text", "keyword.operator", "text"
|
283
|
-
].concat(functionRules["()->"].token),
|
284
|
-
regex : "(" + identifier + ")(\\s*)(=)(\\s*)" + functionRules["()->"].regex
|
285
|
-
}, {
|
286
|
-
token : [
|
287
|
-
"entity.name.function", "text", "punctuation.operator", "text"
|
288
|
-
].concat(functionRules["()->"].token),
|
289
|
-
regex : "(" + identifier + ")(\\s*)(:)(\\s*)" + functionRules["()->"].regex
|
290
|
-
}, {
|
291
|
-
token : [
|
292
|
-
"entity.name.function", "text", "keyword.operator", "text", "storage.type"
|
293
|
-
],
|
294
|
-
regex : "(" + identifier + ")(\\s*)(=)(\\s*)([\\-=]>)"
|
295
|
-
}, {
|
296
|
-
token : [
|
297
|
-
"entity.name.function", "text", "punctuation.operator", "text", "storage.type"
|
298
|
-
],
|
299
|
-
regex : "(" + identifier + ")(\\s*)(:)(\\s*)([\\-=]>)"
|
300
|
-
},
|
301
|
-
functionRules["({args})->"],
|
302
|
-
functionRules["({})->"],
|
303
|
-
functionRules["(args)->"],
|
304
|
-
functionRules["()->"]
|
305
|
-
, {
|
306
|
-
token : "identifier",
|
307
|
-
regex : "(?:(?:\\.|::)\\s*)" + identifier
|
308
|
-
}, {
|
309
|
-
token : "variable",
|
310
|
-
regex : "@(?:" + identifier + ")?"
|
311
|
-
}, {
|
312
|
-
token: keywordMapper,
|
313
|
-
regex : identifier
|
314
|
-
}, {
|
315
|
-
token : "punctuation.operator",
|
316
|
-
regex : "\\?|\\:|\\,|\\."
|
317
|
-
}, {
|
318
|
-
token : "storage.type",
|
319
|
-
regex : "[\\-=]>"
|
320
|
-
}, {
|
321
|
-
token : "keyword.operator",
|
322
|
-
regex : "(?:[-+*/%<>&|^!?=]=|>>>=?|\\-\\-|\\+\\+|::|&&=|\\|\\|=|<<=|>>=|\\?\\.|\\.{2,3}|[!*+-=><])"
|
323
|
-
}, {
|
324
|
-
token : "paren.lparen",
|
325
|
-
regex : "[({[]"
|
326
|
-
}, {
|
327
|
-
token : "paren.rparen",
|
328
|
-
regex : "[\\]})]"
|
329
|
-
}, {
|
330
|
-
token : "text",
|
331
|
-
regex : "\\s+"
|
332
|
-
}],
|
333
|
-
|
334
|
-
qdoc : [{
|
335
|
-
token : "string",
|
336
|
-
regex : ".*?'''",
|
337
|
-
next : "start"
|
338
|
-
}, stringfill],
|
339
|
-
|
340
|
-
qqdoc : [{
|
341
|
-
token : "string",
|
342
|
-
regex : '.*?"""',
|
343
|
-
next : "start"
|
344
|
-
}, stringfill],
|
345
|
-
|
346
|
-
qstring : [{
|
347
|
-
token : "string",
|
348
|
-
regex : "[^\\\\']*(?:\\\\.[^\\\\']*)*'",
|
349
|
-
next : "start"
|
350
|
-
}, stringfill],
|
351
|
-
|
352
|
-
qqstring : [{
|
353
|
-
token : "string",
|
354
|
-
regex : '[^\\\\"]*(?:\\\\.[^\\\\"]*)*"',
|
355
|
-
next : "start"
|
356
|
-
}, stringfill],
|
357
|
-
|
358
|
-
js : [{
|
359
|
-
token : "string",
|
360
|
-
regex : "[^\\\\`]*(?:\\\\.[^\\\\`]*)*`",
|
361
|
-
next : "start"
|
362
|
-
}, stringfill],
|
363
|
-
|
364
|
-
heregex : [{
|
365
|
-
token : "string.regex",
|
366
|
-
regex : '.*?///[imgy]{0,4}',
|
367
|
-
next : "start"
|
368
|
-
}, {
|
369
|
-
token : "comment.regex",
|
370
|
-
regex : "\\s+(?:#.*)?"
|
371
|
-
}, {
|
372
|
-
token : "string.regex",
|
373
|
-
regex : "\\S+"
|
374
|
-
}],
|
375
|
-
|
376
|
-
comment : [{
|
377
|
-
token : "comment",
|
378
|
-
regex : '.*?###',
|
379
|
-
next : "start"
|
380
|
-
}, {
|
381
|
-
token : "comment",
|
382
|
-
regex : ".+"
|
383
|
-
}]
|
384
|
-
};
|
385
|
-
}
|
386
|
-
|
387
|
-
exports.CoffeeHighlightRules = CoffeeHighlightRules;
|
388
|
-
});
|
389
|
-
|
390
|
-
define('ace/mode/matching_brace_outdent', ['require', 'exports', 'module' , 'ace/range'], function(require, exports, module) {
|
391
|
-
|
392
|
-
|
393
|
-
var Range = require("../range").Range;
|
394
|
-
|
395
|
-
var MatchingBraceOutdent = function() {};
|
396
|
-
|
397
|
-
(function() {
|
398
|
-
|
399
|
-
this.checkOutdent = function(line, input) {
|
400
|
-
if (! /^\s+$/.test(line))
|
401
|
-
return false;
|
402
|
-
|
403
|
-
return /^\s*\}/.test(input);
|
404
|
-
};
|
405
|
-
|
406
|
-
this.autoOutdent = function(doc, row) {
|
407
|
-
var line = doc.getLine(row);
|
408
|
-
var match = line.match(/^(\s*\})/);
|
409
|
-
|
410
|
-
if (!match) return 0;
|
411
|
-
|
412
|
-
var column = match[1].length;
|
413
|
-
var openBracePos = doc.findMatchingBracket({row: row, column: column});
|
414
|
-
|
415
|
-
if (!openBracePos || openBracePos.row == row) return 0;
|
416
|
-
|
417
|
-
var indent = this.$getIndent(doc.getLine(openBracePos.row));
|
418
|
-
doc.replace(new Range(row, 0, row, column-1), indent);
|
419
|
-
};
|
420
|
-
|
421
|
-
this.$getIndent = function(line) {
|
422
|
-
var match = line.match(/^(\s+)/);
|
423
|
-
if (match) {
|
424
|
-
return match[1];
|
425
|
-
}
|
426
|
-
|
427
|
-
return "";
|
428
|
-
};
|
429
|
-
|
430
|
-
}).call(MatchingBraceOutdent.prototype);
|
431
|
-
|
432
|
-
exports.MatchingBraceOutdent = MatchingBraceOutdent;
|
433
|
-
});
|
434
|
-
|
435
|
-
define('ace/mode/folding/coffee', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/folding/fold_mode', 'ace/range'], function(require, exports, module) {
|
436
|
-
|
437
|
-
|
438
|
-
var oop = require("../../lib/oop");
|
439
|
-
var BaseFoldMode = require("./fold_mode").FoldMode;
|
440
|
-
var Range = require("../../range").Range;
|
441
|
-
|
442
|
-
var FoldMode = exports.FoldMode = function() {};
|
443
|
-
oop.inherits(FoldMode, BaseFoldMode);
|
444
|
-
|
445
|
-
(function() {
|
446
|
-
|
447
|
-
this.getFoldWidgetRange = function(session, foldStyle, row) {
|
448
|
-
var range = this.indentationBlock(session, row);
|
449
|
-
if (range)
|
450
|
-
return range;
|
451
|
-
|
452
|
-
var re = /\S/;
|
453
|
-
var line = session.getLine(row);
|
454
|
-
var startLevel = line.search(re);
|
455
|
-
if (startLevel == -1 || line[startLevel] != "#")
|
456
|
-
return;
|
457
|
-
|
458
|
-
var startColumn = line.length;
|
459
|
-
var maxRow = session.getLength();
|
460
|
-
var startRow = row;
|
461
|
-
var endRow = row;
|
462
|
-
|
463
|
-
while (++row < maxRow) {
|
464
|
-
line = session.getLine(row);
|
465
|
-
var level = line.search(re);
|
466
|
-
|
467
|
-
if (level == -1)
|
468
|
-
continue;
|
469
|
-
|
470
|
-
if (line[level] != "#")
|
471
|
-
break;
|
472
|
-
|
473
|
-
endRow = row;
|
474
|
-
}
|
475
|
-
|
476
|
-
if (endRow > startRow) {
|
477
|
-
var endColumn = session.getLine(endRow).length;
|
478
|
-
return new Range(startRow, startColumn, endRow, endColumn);
|
479
|
-
}
|
480
|
-
};
|
481
|
-
this.getFoldWidget = function(session, foldStyle, row) {
|
482
|
-
var line = session.getLine(row);
|
483
|
-
var indent = line.search(/\S/);
|
484
|
-
var next = session.getLine(row + 1);
|
485
|
-
var prev = session.getLine(row - 1);
|
486
|
-
var prevIndent = prev.search(/\S/);
|
487
|
-
var nextIndent = next.search(/\S/);
|
488
|
-
|
489
|
-
if (indent == -1) {
|
490
|
-
session.foldWidgets[row - 1] = prevIndent!= -1 && prevIndent < nextIndent ? "start" : "";
|
491
|
-
return "";
|
492
|
-
}
|
493
|
-
if (prevIndent == -1) {
|
494
|
-
if (indent == nextIndent && line[indent] == "#" && next[indent] == "#") {
|
495
|
-
session.foldWidgets[row - 1] = "";
|
496
|
-
session.foldWidgets[row + 1] = "";
|
497
|
-
return "start";
|
498
|
-
}
|
499
|
-
} else if (prevIndent == indent && line[indent] == "#" && prev[indent] == "#") {
|
500
|
-
if (session.getLine(row - 2).search(/\S/) == -1) {
|
501
|
-
session.foldWidgets[row - 1] = "start";
|
502
|
-
session.foldWidgets[row + 1] = "";
|
503
|
-
return "";
|
504
|
-
}
|
505
|
-
}
|
506
|
-
|
507
|
-
if (prevIndent!= -1 && prevIndent < indent)
|
508
|
-
session.foldWidgets[row - 1] = "start";
|
509
|
-
else
|
510
|
-
session.foldWidgets[row - 1] = "";
|
511
|
-
|
512
|
-
if (indent < nextIndent)
|
513
|
-
return "start";
|
514
|
-
else
|
515
|
-
return "";
|
516
|
-
};
|
517
|
-
|
518
|
-
}).call(FoldMode.prototype);
|
519
|
-
|
520
|
-
});
|