Skip to content

Commit

Permalink
package 02.07.2013
Browse files Browse the repository at this point in the history
  • Loading branch information
nightwing committed Feb 7, 2013
1 parent 8986689 commit c669dba
Show file tree
Hide file tree
Showing 277 changed files with 20,360 additions and 10,100 deletions.
8 changes: 6 additions & 2 deletions kitchen-sink/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ event.addListener(container, "drop", function(e) {
if (window.FileReader) {
var reader = new FileReader();
reader.onload = function() {
var mode = getModeFromPath(file.name);
var mode = modelist.getModeFromPath(file.name);

env.editor.session.doc.setValue(reader.result);
modeEl.value = mode.name;
Expand Down Expand Up @@ -605,6 +605,7 @@ var docs = {
"docs/latex.tex": {name: "LaTeX", wrapped: true},
"docs/less.less": "LESS",
"docs/lisp.lisp": "Lisp",
"docs/scheme.scm": "Scheme",
"docs/liquid.liquid": "Liquid",
"docs/lua.lua": "Lua",
"docs/lucene.lucene": "Lucene",
Expand Down Expand Up @@ -634,6 +635,7 @@ var docs = {
"docs/tcl.tcl": "Tcl",
"docs/tex.tex": "Tex",
"docs/textile.textile": {name: "Textile", wrapped: true},
"docs/tmSnippet.tmSnippet": "tmSnippet",
"docs/typescript.ts": "Typescript",
"docs/vbscript.vbs": "VBScript",
"docs/xml.xml": "XML",
Expand Down Expand Up @@ -776,7 +778,8 @@ var modesByName = {
jsx: ["JSX" , "jsx"],
latex: ["LaTeX" , "latex|tex|ltx|bib"],
less: ["LESS" , "less"],
lisp: ["Lisp" , "lisp|scm|rkt"],
lisp: ["Lisp" , "lisp"],
scheme: ["Scheme" , "scm|rkt"],
liquid: ["Liquid" , "liquid"],
lua: ["Lua" , "lua"],
luapage: ["LuaPage" , "lp"], // http://keplerproject.github.com/cgilua/manual.html#templates
Expand Down Expand Up @@ -805,6 +808,7 @@ var modesByName = {
tex: ["Tex" , "tex"],
text: ["Text" , "txt"],
textile: ["Textile" , "textile"],
tm_snippet: ["tmSnippet" , "tmSnippet"],
typescript: ["Typescript" , "typescript|ts|str"],
vbscript: ["VBScript" , "vbs"],
xml: ["XML" , "xml|rdf|rss|wsdl|xslt|atom|mathml|mml|xul|xbl"],
Expand Down
6 changes: 6 additions & 0 deletions kitchen-sink/docs/cpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
#include <boost/asio/io_service.hpp>
#include "boost/asio/io_service.hpp"

#include \
\
"iostream" \
"string" \
<vector>

using namespace std;

int main ()
Expand Down
14 changes: 13 additions & 1 deletion kitchen-sink/docs/ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,16 @@ def to_json(*a)
end
end

{:id => 34, :sdfasdfasdf => "asdasdads"}
{:id => 34, :key => "value"}


herDocs = [<<'FOO', <<BAR, <<-BAZ, <<-`EXEC`] #comment
FOO #{literal}
FOO
BAR #{fact(10)}
BAR
BAZ indented
BAZ
echo hi
EXEC
puts herDocs
21 changes: 21 additions & 0 deletions kitchen-sink/docs/scheme.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
(define (prompt-for-cd)
"Prompts
for CD"
(prompt-read "Title" 1.53 1 2/4 1.7 1.7e0 2.9E-4 +42 -7 #b001 #b001/100 #o777 #O777 #xabc55 #c(0 -5.6))
(prompt-read "Artist")
(or (parse-integer (prompt-read "Rating") #:junk-allowed #t) 0)
(if x (format #t "yes") (format #f "no") ;and here comment
)
;; second line comment
'(+ 1 2)
(position-if-not char-set:whitespace line #:start beg))
(quote (privet 1 2 3))
'(hello world)
(* 5 7)
(1 2 34 5)
(#:use "aaaa")
(let ((x 10) (y 20))
(display (+ x y))
)

"asdad\0eqweqe"
2 changes: 2 additions & 0 deletions kitchen-sink/docs/sh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ get_repo() {
fi
}

echo ${#x[@]}

if repo=`get_repo $@`; then
branch=`git symbolic-ref HEAD 2>/dev/null`
echo "http://github.com/$repo/pull/new/${branch##refs/heads/}"
Expand Down
19 changes: 19 additions & 0 deletions kitchen-sink/docs/tmSnippet.tmSnippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
$$------------------------------------
tabTrigger: t
name: Heading 3
scope: language
content: -----------------------------
\begin{${1:documnet}}
${2:$TM_SELECTED_TEXT:some latex}
${3:$TM_SELECTED_TEXT/a/b/c}
${4:${TM_SELECTED_TEXT/(.)/\\u$1/g:7}}
\end{$1}
$0\\$$
$$------------------------------------
tabTrigger: ^3
name: Heading 3
scope: language
content: -----------------------------

${TM_CURRENT_LINE/./^/g}
$$------------------------------------
2 changes: 1 addition & 1 deletion src-min-noconflict/ace.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src-min-noconflict/ext-textarea.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src-min-noconflict/keybinding-emacs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c669dba

Please sign in to comment.