You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ga...@apache.org on 2013/10/30 14:43:21 UTC
[27/52] [partial] Remove unneeded ace files and codemirror
http://git-wip-us.apache.org/repos/asf/couchdb/blob/5b8fb9c3/src/fauxton/assets/js/libs/ace/mode/_test/tokens_julia.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_julia.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_julia.json
deleted file mode 100644
index f4ce4ea..0000000
--- a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_julia.json
+++ /dev/null
@@ -1,105 +0,0 @@
-[[
- "start",
- ["keyword.control.julia","for"],
- ["text"," op "],
- ["keyword.operator.update.julia","="],
- ["text"," ("],
- ["keyword.operator.ternary.julia",":"],
- ["keyword.operator.arithmetic.julia","+"],
- ["text",", "],
- ["keyword.operator.ternary.julia",":"],
- ["keyword.operator.arithmetic.julia","*"],
- ["text",", "],
- ["keyword.operator.ternary.julia",":"],
- ["keyword.operator.bitwise.julia","&"],
- ["text",", "],
- ["keyword.operator.ternary.julia",":"],
- ["keyword.operator.bitwise.julia","|"],
- ["text",", "],
- ["keyword.operator.ternary.julia",":"],
- ["keyword.operator.interpolation.julia","$"],
- ["text",")"]
-],[
- "start",
- ["text"," "],
- ["variable.macro.julia","@eval"],
- ["text"," ("],
- ["keyword.operator.interpolation.julia","$"],
- ["text","op)(a,b,c) "],
- ["keyword.operator.update.julia","="],
- ["text"," ("],
- ["keyword.operator.interpolation.julia","$"],
- ["text","op)(("],
- ["keyword.operator.interpolation.julia","$"],
- ["text","op)(a,b),c)"]
-],[
- "start",
- ["keyword.control.julia","end"]
-],[
- "start"
-],[
- "start"
-],[
- "start",
- ["keyword.other.julia","function"],
- ["meta.function.julia"," "],
- ["entity.name.function.julia","g"],
- ["text","("],
- ["text","x,y)"]
-],[
- "start",
- ["text"," "],
- ["keyword.control.julia","return"],
- ["text"," x "],
- ["keyword.operator.arithmetic.julia","*"],
- ["text"," y"]
-],[
- "start",
- ["text"," x "],
- ["keyword.operator.arithmetic.julia","+"],
- ["text"," y"]
-],[
- "start",
- ["keyword.control.julia","end"]
-],[
- "start"
-],[
- "start",
- ["support.function.julia","cd"],
- ["text","("],
- ["punctuation.definition.string.begin.julia","\""],
- ["string.quoted.double.julia","data"],
- ["punctuation.definition.string.end.julia","\""],
- ["text",") "],
- ["keyword.control.julia","do"]
-],[
- "start",
- ["text"," "],
- ["support.function.julia","open"],
- ["text","("],
- ["punctuation.definition.string.begin.julia","\""],
- ["string.quoted.double.julia","outfile"],
- ["punctuation.definition.string.end.julia","\""],
- ["text",", "],
- ["punctuation.definition.string.begin.julia","\""],
- ["string.quoted.double.julia","w"],
- ["punctuation.definition.string.end.julia","\""],
- ["text",") "],
- ["keyword.control.julia","do"],
- ["text"," f"]
-],[
- "start",
- ["text"," "],
- ["support.function.julia","write"],
- ["text","("],
- ["text","f, data)"]
-],[
- "start",
- ["text"," "],
- ["keyword.control.julia","end"]
-],[
- "start",
- ["keyword.control.julia","end"]
-],[
- "start"
-]]
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/couchdb/blob/5b8fb9c3/src/fauxton/assets/js/libs/ace/mode/_test/tokens_latex.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_latex.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_latex.json
deleted file mode 100644
index 0ac3772..0000000
--- a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_latex.json
+++ /dev/null
@@ -1,127 +0,0 @@
-[[
- "start",
- ["keyword","\\usepackage"],
- ["lparen","{"],
- ["text","amsmath"],
- ["rparen","}"]
-],[
- "start",
- ["keyword","\\title"],
- ["lparen","{"],
- ["keyword","\\LaTeX"],
- ["rparen","}"]
-],[
- "start",
- ["keyword","\\date"],
- ["lparen","{"],
- ["rparen","}"]
-],[
- "start",
- ["keyword","\\begin"],
- ["lparen","{"],
- ["text","document"],
- ["rparen","}"]
-],[
- "start",
- ["text"," "],
- ["keyword","\\maketitle"]
-],[
- "start",
- ["text"," "],
- ["keyword","\\LaTeX"],
- ["lparen","{"],
- ["rparen","}"],
- ["text"," is a document preparation system for the "],
- ["keyword","\\TeX"],
- ["lparen","{"],
- ["rparen","}"]
-],[
- "start",
- ["text"," typesetting program. It offers programmable desktop publishing"]
-],[
- "start",
- ["text"," features and extensive facilities for automating most aspects of"]
-],[
- "start",
- ["text"," typesetting and desktop publishing, including numbering and"]
-],[
- "start",
- ["text"," cross-referencing, tables and figures, page layout, bibliographies,"]
-],[
- "start",
- ["text"," and much more. "],
- ["keyword","\\LaTeX"],
- ["lparen","{"],
- ["rparen","}"],
- ["text"," was originally written in 1984 by Leslie"]
-],[
- "start",
- ["text"," Lamport and has become the dominant method for using "],
- ["keyword","\\TeX"],
- ["text","; few"]
-],[
- "start",
- ["text"," people write in plain "],
- ["keyword","\\TeX"],
- ["lparen","{"],
- ["rparen","}"],
- ["text"," anymore. The current version is"]
-],[
- "start",
- ["text"," "],
- ["keyword","\\LaTeXe"],
- ["text","."]
-],[
- "start",
- ["text"," "]
-],[
- "start",
- ["text"," "],
- ["comment","% This is a comment; it will not be shown in the final output."]
-],[
- "start",
- ["text"," "],
- ["comment","% The following shows a little of the typesetting power of LaTeX:"]
-],[
- "start",
- ["text"," "],
- ["keyword","\\begin"],
- ["lparen","{"],
- ["text","align"],
- ["rparen","}"]
-],[
- "start",
- ["text"," E &= mc^2 "],
- ["keyword","\\\\"]
-],[
- "start",
- ["text"," m &= "],
- ["keyword","\\frac"],
- ["lparen","{"],
- ["text","m_0"],
- ["rparen","}"],
- ["lparen","{"],
- ["keyword","\\sqrt"],
- ["lparen","{"],
- ["text","1-"],
- ["keyword","\\frac"],
- ["lparen","{"],
- ["text","v^2"],
- ["rparen","}"],
- ["lparen","{"],
- ["text","c^2"],
- ["rparen","}}}"]
-],[
- "start",
- ["text"," "],
- ["keyword","\\end"],
- ["lparen","{"],
- ["text","align"],
- ["rparen","}"]
-],[
- "start",
- ["keyword","\\end"],
- ["lparen","{"],
- ["text","document"],
- ["rparen","}"]
-]]
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/couchdb/blob/5b8fb9c3/src/fauxton/assets/js/libs/ace/mode/_test/tokens_less.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_less.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_less.json
deleted file mode 100644
index 81fe0c2..0000000
--- a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_less.json
+++ /dev/null
@@ -1,204 +0,0 @@
-[[
- "start",
- ["comment","/* styles.less */"]
-],[
- "start"
-],[
- "start",
- ["variable","@base"],
- ["text",": "],
- ["constant.numeric","#f938ab"],
- ["text",";"]
-],[
- "start"
-],[
- "start",
- ["variable.language",".box-shadow"],
- ["paren.lparen","("],
- ["variable","@style"],
- ["text",", "],
- ["variable","@c"],
- ["paren.rparen",")"],
- ["text"," "],
- ["keyword","when"],
- ["text"," "],
- ["paren.lparen","("],
- ["support.function","iscolor"],
- ["paren.lparen","("],
- ["variable","@c"],
- ["paren.rparen","))"],
- ["text"," "],
- ["paren.lparen","{"]
-],[
- "start",
- ["text"," box-shadow: "],
- ["variable","@style"],
- ["text"," "],
- ["variable","@c"],
- ["text",";"]
-],[
- "start",
- ["text"," -webkit-box-shadow: "],
- ["variable","@style"],
- ["text"," "],
- ["variable","@c"],
- ["text",";"]
-],[
- "start",
- ["text"," -moz-box-shadow: "],
- ["variable","@style"],
- ["text"," "],
- ["variable","@c"],
- ["text",";"]
-],[
- "start",
- ["paren.rparen","}"]
-],[
- "start",
- ["variable.language",".box-shadow"],
- ["paren.lparen","("],
- ["variable","@style"],
- ["text",", "],
- ["variable","@alpha"],
- ["text",": "],
- ["constant.numeric","50%"],
- ["paren.rparen",")"],
- ["text"," "],
- ["keyword","when"],
- ["text"," "],
- ["paren.lparen","("],
- ["support.function","isnumber"],
- ["paren.lparen","("],
- ["variable","@alpha"],
- ["paren.rparen","))"],
- ["text"," "],
- ["paren.lparen","{"]
-],[
- "start",
- ["text"," "],
- ["variable.language",".box-shadow"],
- ["paren.lparen","("],
- ["variable","@style"],
- ["text",", "],
- ["support.function","rgba"],
- ["paren.lparen","("],
- ["constant.numeric","0"],
- ["text",", "],
- ["constant.numeric","0"],
- ["text",", "],
- ["constant.numeric","0"],
- ["text",", "],
- ["variable","@alpha"],
- ["paren.rparen","))"],
- ["text",";"]
-],[
- "start",
- ["paren.rparen","}"]
-],[
- "start"
-],[
- "start",
- ["comment","// Box styles"]
-],[
- "start",
- ["variable.language",".box"],
- ["text"," "],
- ["paren.lparen","{"],
- ["text"," "]
-],[
- "start",
- ["text"," "],
- ["support.type","color"],
- ["text",": "],
- ["support.function","saturate"],
- ["paren.lparen","("],
- ["variable","@base"],
- ["text",", "],
- ["constant.numeric","5%"],
- ["paren.rparen",")"],
- ["text",";"]
-],[
- "start",
- ["text"," "],
- ["support.type","border-color"],
- ["text",": "],
- ["support.function","lighten"],
- ["paren.lparen","("],
- ["variable","@base"],
- ["text",", "],
- ["constant.numeric","30%"],
- ["paren.rparen",")"],
- ["text",";"]
-],[
- "start",
- ["text"," "]
-],[
- "start",
- ["text"," "],
- ["variable.language","div"],
- ["text"," "],
- ["paren.lparen","{"],
- ["text"," "],
- ["variable.language",".box-shadow"],
- ["paren.lparen","("],
- ["constant.numeric","0"],
- ["text"," "],
- ["constant.numeric","0"],
- ["text"," "],
- ["constant.numeric","5px"],
- ["text",", "],
- ["constant.numeric","30%"],
- ["paren.rparen",")"],
- ["text"," "],
- ["paren.rparen","}"]
-],[
- "start",
- ["text"," "]
-],[
- "start",
- ["text"," "],
- ["variable.language","a"],
- ["text"," "],
- ["paren.lparen","{"]
-],[
- "start",
- ["text"," "],
- ["support.type","color"],
- ["text",": "],
- ["variable","@base"],
- ["text",";"]
-],[
- "start",
- ["text"," "]
-],[
- "start",
- ["text"," &"],
- ["variable.language",":hover"],
- ["text"," "],
- ["paren.lparen","{"]
-],[
- "start",
- ["text"," "],
- ["support.type","color"],
- ["text",": "],
- ["support.function","lighten"],
- ["paren.lparen","("],
- ["variable","@base"],
- ["text",", "],
- ["constant.numeric","50%"],
- ["paren.rparen",")"],
- ["text",";"]
-],[
- "start",
- ["text"," "],
- ["paren.rparen","}"]
-],[
- "start",
- ["text"," "],
- ["paren.rparen","}"]
-],[
- "start",
- ["paren.rparen","}"]
-],[
- "start"
-]]
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/couchdb/blob/5b8fb9c3/src/fauxton/assets/js/libs/ace/mode/_test/tokens_liquid.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_liquid.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_liquid.json
deleted file mode 100644
index a87c051..0000000
--- a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_liquid.json
+++ /dev/null
@@ -1,551 +0,0 @@
-[[
- "start",
- ["text","The following examples can be found in full at http://liquidmarkup.org/"]
-],[
- "start"
-],[
- "start",
- ["text","Liquid is an extraction from the e-commerce system Shopify."]
-],[
- "start",
- ["text","Shopify powers many thousands of e-commerce stores which all call for unique designs."]
-],[
- "start",
- ["text","For this we developed Liquid which allows our customers complete design freedom while"]
-],[
- "start",
- ["text","maintaining the integrity of our servers."]
-],[
- "start"
-],[
- "start",
- ["text","Liquid has been in production use since June 2006 and is now used by many other"]
-],[
- "start",
- ["text","hosted web applications."]
-],[
- "start"
-],[
- "start",
- ["text","It was developed for usage in Ruby on Rails web applications and integrates seamlessly"]
-],[
- "start",
- ["text","as a plugin but it also works excellently as a stand alone library."]
-],[
- "start"
-],[
- "start",
- ["text","Here's what it looks like:"]
-],[
- "start"
-],[
- "start",
- ["text"," "],
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","ul"],
- ["text"," "],
- ["entity.other.attribute-name","id"],
- ["keyword.operator.separator","="],
- ["string","\"products\""],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["text"," "],
- ["variable","{%"],
- ["text"," "],
- ["keyword","for"],
- ["text"," "],
- ["identifier","product"],
- ["text"," "],
- ["keyword","in"],
- ["text"," "],
- ["identifier","products"],
- ["text"," "],
- ["variable","%}"]
-],[
- "start",
- ["text"," "],
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","li"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["text"," "],
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","h2"],
- ["meta.tag.punctuation.end",">"],
- ["variable","{{"],
- ["text"," "],
- ["identifier","product"],
- ["text","."],
- ["identifier","title"],
- ["text"," "],
- ["variable","}}"],
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","h2"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["text"," Only "],
- ["variable","{{"],
- ["text"," "],
- ["identifier","product"],
- ["text","."],
- ["identifier","price"],
- ["text"," | "],
- ["identifier","format_as_money"],
- ["text"," "],
- ["variable","}}"]
-],[
- "start"
-],[
- "start",
- ["text"," "],
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","p"],
- ["meta.tag.punctuation.end",">"],
- ["variable","{{"],
- ["text"," "],
- ["identifier","product"],
- ["text","."],
- ["identifier","description"],
- ["text"," | "],
- ["identifier","prettyprint"],
- ["text"," | "],
- ["support.function","truncate"],
- ["text",": "],
- ["constant.numeric","200"],
- ["text"," "],
- ["variable","}}"],
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","p"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start"
-],[
- "start",
- ["text"," "],
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","li"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["text"," "],
- ["variable","{%"],
- ["text"," "],
- ["keyword","endfor"],
- ["text"," "],
- ["variable","%}"]
-],[
- "start",
- ["text"," "],
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","ul"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start"
-],[
- "start"
-],[
- "start",
- ["text","Some more features include:"]
-],[
- "start"
-],[
- "start",
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","h2"],
- ["meta.tag.punctuation.end",">"],
- ["text","Filters"],
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","h2"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","p"],
- ["meta.tag.punctuation.end",">"],
- ["text"," The word \"tobi\" in uppercase: "],
- ["variable","{{"],
- ["text"," "],
- ["string","'tobi'"],
- ["text"," | "],
- ["support.function","upcase"],
- ["text"," "],
- ["variable","}}"],
- ["text"," "],
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","p"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","p"],
- ["meta.tag.punctuation.end",">"],
- ["text","The word \"tobi\" has "],
- ["variable","{{"],
- ["text"," "],
- ["string","'tobi'"],
- ["text"," | "],
- ["support.function","size"],
- ["text"," "],
- ["variable","}}"],
- ["text"," letters! "],
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","p"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","p"],
- ["meta.tag.punctuation.end",">"],
- ["text","Change \"Hello world\" to \"Hi world\": "],
- ["variable","{{"],
- ["text"," "],
- ["string","'Hello world'"],
- ["text"," | "],
- ["support.function","replace"],
- ["text",": "],
- ["string","'Hello'"],
- ["text",", "],
- ["string","'Hi'"],
- ["text"," "],
- ["variable","}}"],
- ["text"," "],
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","p"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","p"],
- ["meta.tag.punctuation.end",">"],
- ["text","The date today is "],
- ["variable","{{"],
- ["text"," "],
- ["string","'now'"],
- ["text"," | "],
- ["support.function","date"],
- ["text",": "],
- ["string","\"%Y %b %d\""],
- ["text"," "],
- ["variable","}}"],
- ["text"," "],
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","p"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start"
-],[
- "start"
-],[
- "start",
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","h2"],
- ["meta.tag.punctuation.end",">"],
- ["text","If"],
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","h2"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","p"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["text"," "],
- ["variable","{%"],
- ["text"," "],
- ["keyword","if"],
- ["text"," "],
- ["identifier","user"],
- ["text","."],
- ["identifier","name"],
- ["text"," "],
- ["keyword.operator","=="],
- ["text"," "],
- ["string","'tobi'"],
- ["text"," "],
- ["identifier","or"],
- ["text"," "],
- ["identifier","user"],
- ["text","."],
- ["identifier","name"],
- ["text"," "],
- ["keyword.operator","=="],
- ["text"," "],
- ["string","'marc'"],
- ["text"," "],
- ["variable","%}"],
- ["text"," "]
-],[
- "start",
- ["text"," hi marc or tobi"]
-],[
- "start",
- ["text"," "],
- ["variable","{%"],
- ["text"," "],
- ["keyword","endif"],
- ["text"," "],
- ["variable","%}"]
-],[
- "start",
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","p"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start"
-],[
- "start"
-],[
- "start",
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","h2"],
- ["meta.tag.punctuation.end",">"],
- ["text","Case"],
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","h2"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","p"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["text"," "],
- ["variable","{%"],
- ["text"," "],
- ["keyword","case"],
- ["text"," "],
- ["identifier","template"],
- ["text"," "],
- ["variable","%}"]
-],[
- "start",
- ["text"," "],
- ["variable","{%"],
- ["text"," "],
- ["keyword","when"],
- ["text"," "],
- ["string","'index'"],
- ["text"," "],
- ["variable","%}"]
-],[
- "start",
- ["text"," Welcome"]
-],[
- "start",
- ["text"," "],
- ["variable","{%"],
- ["text"," "],
- ["keyword","when"],
- ["text"," "],
- ["string","'product'"],
- ["text"," "],
- ["variable","%}"]
-],[
- "start",
- ["text"," "],
- ["variable","{{"],
- ["text"," "],
- ["identifier","product"],
- ["text","."],
- ["identifier","vendor"],
- ["text"," | "],
- ["identifier","link_to_vendor"],
- ["text"," "],
- ["variable","}}"],
- ["text"," / "],
- ["variable","{{"],
- ["text"," "],
- ["identifier","product"],
- ["text","."],
- ["identifier","title"],
- ["text"," "],
- ["variable","}}"]
-],[
- "start",
- ["text"," "],
- ["variable","{%"],
- ["text"," "],
- ["keyword","else"],
- ["text"," "],
- ["variable","%}"]
-],[
- "start",
- ["text"," "],
- ["variable","{{"],
- ["text"," "],
- ["identifier","page_title"],
- ["text"," "],
- ["variable","}}"]
-],[
- "start",
- ["text"," "],
- ["variable","{%"],
- ["text"," "],
- ["keyword","endcase"],
- ["text"," "],
- ["variable","%}"]
-],[
- "start",
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","p"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start"
-],[
- "start"
-],[
- "start",
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","h2"],
- ["meta.tag.punctuation.end",">"],
- ["text","For Loops"],
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","h2"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","p"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["text"," "],
- ["variable","{%"],
- ["text"," "],
- ["keyword","for"],
- ["text"," "],
- ["identifier","item"],
- ["text"," "],
- ["keyword","in"],
- ["text"," "],
- ["identifier","array"],
- ["text"," "],
- ["variable","%}"],
- ["text"," "]
-],[
- "start",
- ["text"," "],
- ["variable","{{"],
- ["text"," "],
- ["identifier","item"],
- ["text"," "],
- ["variable","}}"]
-],[
- "start",
- ["text"," "],
- ["variable","{%"],
- ["text"," "],
- ["keyword","endfor"],
- ["text"," "],
- ["variable","%}"]
-],[
- "start",
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","p"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start"
-],[
- "start"
-],[
- "start",
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","h2"],
- ["meta.tag.punctuation.end",">"],
- ["text","Tables"],
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","h2"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","p"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["text"," "],
- ["variable","{%"],
- ["text"," "],
- ["keyword","tablerow"],
- ["text"," "],
- ["identifier","item"],
- ["text"," "],
- ["keyword","in"],
- ["text"," "],
- ["identifier","items"],
- ["text"," "],
- ["identifier","cols"],
- ["text",": "],
- ["constant.numeric","3"],
- ["text"," "],
- ["variable","%}"]
-],[
- "start",
- ["text"," "],
- ["variable","{%"],
- ["text"," "],
- ["keyword","if"],
- ["text"," "],
- ["variable.language","tablerowloop"],
- ["text","."],
- ["identifier","col_first"],
- ["text"," "],
- ["variable","%}"]
-],[
- "start",
- ["text"," First column: "],
- ["variable","{{"],
- ["text"," "],
- ["identifier","item"],
- ["text","."],
- ["identifier","variable"],
- ["text"," "],
- ["variable","}}"]
-],[
- "start",
- ["text"," "],
- ["variable","{%"],
- ["text"," "],
- ["keyword","else"],
- ["text"," "],
- ["variable","%}"]
-],[
- "start",
- ["text"," Different column: "],
- ["variable","{{"],
- ["text"," "],
- ["identifier","item"],
- ["text","."],
- ["identifier","variable"],
- ["text"," "],
- ["variable","}}"]
-],[
- "start",
- ["text"," "],
- ["variable","{%"],
- ["text"," "],
- ["keyword","endif"],
- ["text"," "],
- ["variable","%}"]
-],[
- "start",
- ["text"," "],
- ["variable","{%"],
- ["text"," "],
- ["keyword","endtablerow"],
- ["text"," "],
- ["variable","%}"]
-],[
- "start",
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","p"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start"
-]]
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/couchdb/blob/5b8fb9c3/src/fauxton/assets/js/libs/ace/mode/_test/tokens_lisp.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_lisp.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_lisp.json
deleted file mode 100644
index 2e70a55..0000000
--- a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_lisp.json
+++ /dev/null
@@ -1,248 +0,0 @@
-[[
- "start",
- ["text","("],
- ["storage.type.function-type.lisp","defun"],
- ["text"," "],
- ["entity.name.function.lisp","prompt-for-cd"],
- ["text"," ()"]
-],[
- "start",
- ["text"," "],
- ["string","\"Prompts"]
-],[
- "start",
- ["text"," "],
- ["identifier","for"],
- ["text"," "],
- ["identifier","CD"],
- ["text","\""]
-],[
- "start",
- ["text"," ("],
- ["identifier","prompt"],
- ["text","-"],
- ["identifier","read"],
- ["text"," "],
- ["string","\"Title\""],
- ["text"," "],
- ["constant.numeric","1.53"],
- ["text"," "],
- ["constant.numeric","1"],
- ["text"," "],
- ["constant.numeric","2"],
- ["text","/"],
- ["constant.numeric","4"],
- ["text"," "],
- ["constant.numeric","1.7"],
- ["text"," "],
- ["constant.numeric","1.7e0"],
- ["text"," "],
- ["constant.numeric","2.9E-4"],
- ["text"," "],
- ["constant.numeric","+42"],
- ["text"," "],
- ["constant.numeric","-7"],
- ["text"," "],
- ["punctuation.definition.constant.character.lisp","#"],
- ["constant.character.lisp","b001"],
- ["text"," "],
- ["punctuation.definition.constant.character.lisp","#"],
- ["constant.character.lisp","b001/100"],
- ["text"," "],
- ["punctuation.definition.constant.character.lisp","#"],
- ["constant.character.lisp","o777"],
- ["text"," "],
- ["punctuation.definition.constant.character.lisp","#"],
- ["constant.character.lisp","O777"],
- ["text"," "],
- ["punctuation.definition.constant.character.lisp","#"],
- ["constant.character.lisp","xabc55"],
- ["text"," "],
- ["punctuation.definition.constant.character.lisp","#"],
- ["constant.character.lisp","c"],
- ["text","("],
- ["constant.numeric","0"],
- ["text"," "],
- ["constant.numeric","-5.6"],
- ["text","))"]
-],[
- "start",
- ["text"," ("],
- ["identifier","prompt"],
- ["text","-"],
- ["identifier","read"],
- ["text"," "],
- ["string","\"Artist\""],
- ["text"," &"],
- ["identifier","rest"],
- ["text",")"]
-],[
- "start",
- ["text"," ("],
- ["keyword.operator","or"],
- ["text"," ("],
- ["identifier","parse"],
- ["text","-"],
- ["identifier","integer"],
- ["text"," ("],
- ["identifier","prompt"],
- ["text","-"],
- ["identifier","read"],
- ["text"," "],
- ["string","\"Rating\""],
- ["text",") :"],
- ["identifier","junk"],
- ["text","-"],
- ["identifier","allowed"],
- ["text"," "],
- ["support.function","t"],
- ["text",") "],
- ["constant.numeric","0"],
- ["text",")"]
-],[
- "start",
- ["text"," ("],
- ["keyword.control","if"],
- ["text"," "],
- ["identifier","x"],
- ["text"," ("],
- ["support.function","format"],
- ["text"," "],
- ["support.function","t"],
- ["text"," "],
- ["string","\"yes\""],
- ["text",") ("],
- ["support.function","format"],
- ["text"," "],
- ["support.function","t"],
- ["text"," "],
- ["string","\"no\""],
- ["text"," "],
- ["constant.language","nil"],
- ["text",") "],
- ["comment",";and here comment"]
-],[
- "start",
- ["text"," ) "],
- ["constant.numeric","0xFFLL"],
- ["text"," "],
- ["constant.numeric","-23ull"]
-],[
- "start",
- ["text"," "],
- ["comment",";; second line comment"]
-],[
- "start",
- ["text"," '(+ "],
- ["constant.numeric","1"],
- ["text"," "],
- ["constant.numeric","2"],
- ["text",")"]
-],[
- "start",
- ["text"," ("],
- ["identifier","defvar"],
- ["text"," "],
- ["punctuation.definition.variable.lisp","*"],
- ["variable.other.global.lisp","lines"],
- ["punctuation.definition.variable.lisp","*"],
- ["text",") "],
- ["comment","; list of all lines"]
-],[
- "start",
- ["text"," ("],
- ["identifier","position"],
- ["text","-"],
- ["keyword.control","if"],
- ["text","-"],
- ["identifier","not"],
- ["text"," "],
- ["punctuation.definition.constant.character.lisp","#"],
- ["constant.character.lisp","'sys::whitespacep"],
- ["text"," "],
- ["identifier","line"],
- ["text"," :"],
- ["identifier","start"],
- ["text"," "],
- ["identifier","beg"],
- ["text","))"]
-],[
- "start",
- ["text"," ("],
- ["support.function","quote"],
- ["text"," ("],
- ["identifier","privet"],
- ["text"," "],
- ["constant.numeric","1"],
- ["text"," "],
- ["constant.numeric","2"],
- ["text"," "],
- ["constant.numeric","3"],
- ["text","))"]
-],[
- "start",
- ["text"," '("],
- ["identifier","hello"],
- ["text"," "],
- ["identifier","world"],
- ["text",")"]
-],[
- "start",
- ["text"," (* "],
- ["constant.numeric","5"],
- ["text"," "],
- ["constant.numeric","7"],
- ["text",")"]
-],[
- "start",
- ["text"," ("],
- ["constant.numeric","1"],
- ["text"," "],
- ["constant.numeric","2"],
- ["text"," "],
- ["constant.numeric","34"],
- ["text"," "],
- ["constant.numeric","5"],
- ["text",")"]
-],[
- "start",
- ["text"," (:"],
- ["identifier","use"],
- ["text"," "],
- ["string","\"aaaa\""],
- ["text",")"]
-],[
- "start",
- ["text"," ("],
- ["keyword.control","let"],
- ["text"," (("],
- ["identifier","x"],
- ["text"," "],
- ["constant.numeric","10"],
- ["text",") ("],
- ["identifier","y"],
- ["text"," "],
- ["constant.numeric","20"],
- ["text","))"]
-],[
- "start",
- ["text"," ("],
- ["identifier","print"],
- ["text"," (+ "],
- ["identifier","x"],
- ["text"," "],
- ["identifier","y"],
- ["text","))"]
-],[
- "start",
- ["text"," ) "],
- ["support.function","LAmbDa"]
-],[
- "start"
-],[
- "start",
- ["text"," "],
- ["string","\"asdad"],
- ["constant.character.escape.lisp","\\0"],
- ["string","eqweqe\""]
-]]
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/couchdb/blob/5b8fb9c3/src/fauxton/assets/js/libs/ace/mode/_test/tokens_livescript.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_livescript.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_livescript.json
deleted file mode 100644
index c2bd83d..0000000
--- a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_livescript.json
+++ /dev/null
@@ -1,6 +0,0 @@
-[[
- "start",
- ["comment","# comment"]
-],[
- "start"
-]]
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/couchdb/blob/5b8fb9c3/src/fauxton/assets/js/libs/ace/mode/_test/tokens_logiql.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_logiql.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_logiql.json
deleted file mode 100644
index 5f7eda4..0000000
--- a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_logiql.json
+++ /dev/null
@@ -1,190 +0,0 @@
-[[
- "start",
- ["comment.single","// ancestors"]
-],[
- "start",
- ["entity.name","parentof"],
- ["text","("],
- ["string","\"douglas\""],
- ["keyword.other",","],
- ["text"," "],
- ["string","\"john\""],
- ["text",")"],
- ["keyword.end","."]
-],[
- "start",
- ["entity.name","parentof"],
- ["text","("],
- ["string","\"john\""],
- ["keyword.other",","],
- ["text"," "],
- ["string","\"bob\""],
- ["text",")"],
- ["keyword.end","."]
-],[
- "start",
- ["entity.name","parentof"],
- ["text","("],
- ["string","\"bob\""],
- ["keyword.other",","],
- ["text"," "],
- ["string","\"ebbon\""],
- ["text",")"],
- ["keyword.end","."]
-],[
- "start"
-],[
- "start",
- ["entity.name","parentof"],
- ["text","("],
- ["string","\"douglas\""],
- ["keyword.other",","],
- ["text"," "],
- ["string","\"jane\""],
- ["text",")"],
- ["keyword.end","."]
-],[
- "start",
- ["entity.name","parentof"],
- ["text","("],
- ["string","\"jane\""],
- ["keyword.other",","],
- ["text"," "],
- ["string","\"jan\""],
- ["text",")"],
- ["keyword.end","."]
-],[
- "start"
-],[
- "start",
- ["entity.name","ancestorof"],
- ["text","("],
- ["variable.parameter","A"],
- ["keyword.other",","],
- ["text"," "],
- ["variable.parameter","B"],
- ["text",") "],
- ["keyword.start","<-"],
- ["text"," "],
- ["entity.name","parentof"],
- ["text","("],
- ["variable.parameter","A"],
- ["keyword.other",","],
- ["text"," "],
- ["variable.parameter","B"],
- ["text",")"],
- ["keyword.end","."]
-],[
- "start",
- ["entity.name","ancestorof"],
- ["text","("],
- ["variable.parameter","A"],
- ["keyword.other",","],
- ["text"," "],
- ["variable.parameter","C"],
- ["text",") "],
- ["keyword.start","<-"],
- ["text"," "],
- ["entity.name","ancestorof"],
- ["text","("],
- ["variable.parameter","A"],
- ["keyword.other",","],
- ["text"," "],
- ["variable.parameter","B"],
- ["text",")"],
- ["keyword.other",","],
- ["text"," "],
- ["entity.name","parentof"],
- ["text","("],
- ["variable.parameter","B"],
- ["keyword.other",","],
- ["variable.parameter","C"],
- ["text",")"],
- ["keyword.end","."]
-],[
- "start"
-],[
- "start",
- ["entity.name","grandparentof"],
- ["text","("],
- ["variable.parameter","A"],
- ["keyword.other",","],
- ["text"," "],
- ["variable.parameter","B"],
- ["text",") "],
- ["keyword.start","<-"],
- ["text"," "],
- ["entity.name","parentof"],
- ["text","("],
- ["variable.parameter","A"],
- ["keyword.other",","],
- ["text"," "],
- ["variable.parameter","C"],
- ["text",")"],
- ["keyword.other",","],
- ["text"," "],
- ["entity.name","parentof"],
- ["text","("],
- ["variable.parameter","C"],
- ["keyword.other",","],
- ["text"," "],
- ["variable.parameter","B"],
- ["text",")"],
- ["keyword.end","."]
-],[
- "start"
-],[
- "start",
- ["entity.name","cousins"],
- ["text","("],
- ["variable.parameter","A"],
- ["keyword.other",","],
- ["variable.parameter","B"],
- ["text",") "],
- ["keyword.start","<-"],
- ["text"," "],
- ["entity.name","grandparentof"],
- ["text","("],
- ["variable.parameter","C"],
- ["keyword.other",","],
- ["variable.parameter","A"],
- ["text",")"],
- ["keyword.other",","],
- ["text"," "],
- ["entity.name","grandparentof"],
- ["text","("],
- ["variable.parameter","C"],
- ["keyword.other",","],
- ["variable.parameter","B"],
- ["text",")"],
- ["keyword.end","."]
-],[
- "start"
-],[
- "start",
- ["entity.name","parentof"],
- ["text","["],
- ["entity.name.type.logicblox","`arg"],
- ["text","]("],
- ["variable.parameter","A"],
- ["keyword.other",","],
- ["text"," "],
- ["variable.parameter","B"],
- ["text",") "],
- ["keyword.start","->"],
- ["text"," "],
- ["entity.name","int"],
- ["text","["],
- ["constant.numeric","32"],
- ["text","]("],
- ["variable.parameter","A"],
- ["text",")"],
- ["keyword.other",","],
- ["text"," "],
- ["keyword.other","!"],
- ["entity.name","string"],
- ["text","("],
- ["variable.parameter","B"],
- ["text",")"],
- ["keyword.end","."]
-]]
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/couchdb/blob/5b8fb9c3/src/fauxton/assets/js/libs/ace/mode/_test/tokens_lsl.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_lsl.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_lsl.json
deleted file mode 100644
index 83b7352..0000000
--- a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_lsl.json
+++ /dev/null
@@ -1,495 +0,0 @@
-[[
- "comment",
- ["comment.block.lsl","/*"]
-],[
- "comment",
- ["comment.block.lsl"," Testing syntax highlighting"]
-],[
- "comment",
- ["comment.block.lsl"," of Ace Editor"]
-],[
- "comment",
- ["comment.block.lsl"," for the Linden Scripting Language"]
-],[
- "start",
- ["comment.block.lsl","*/"]
-],[
- "start"
-],[
- "start",
- ["storage.type.lsl","integer"],
- ["text.lsl"," "],
- ["identifier","someIntNormal"],
- ["text.lsl"," "],
- ["keyword.operator.lsl","="],
- ["text.lsl"," "],
- ["constant.numeric.lsl","3672"],
- ["punctuation.operator.lsl",";"]
-],[
- "start",
- ["storage.type.lsl","integer"],
- ["text.lsl"," "],
- ["identifier","someIntHex"],
- ["text.lsl"," "],
- ["keyword.operator.lsl","="],
- ["text.lsl"," "],
- ["constant.numeric.lsl","0x00000000"],
- ["punctuation.operator.lsl",";"]
-],[
- "start",
- ["storage.type.lsl","integer"],
- ["text.lsl"," "],
- ["identifier","someIntMath"],
- ["text.lsl"," "],
- ["keyword.operator.lsl","="],
- ["text.lsl"," "],
- ["constant.language.float.lsl","PI_BY_TWO"],
- ["punctuation.operator.lsl",";"]
-],[
- "start"
-],[
- "start",
- ["storage.type.lsl","integer"],
- ["text.lsl"," "],
- ["invalid.unimplemented.lsl","event"],
- ["text.lsl"," "],
- ["keyword.operator.lsl","="],
- ["text.lsl"," "],
- ["constant.numeric.lsl","5673"],
- ["punctuation.operator.lsl",";"],
- ["text.lsl"," "],
- ["comment.line.double-slash.lsl","// unimplemented reserved keyword!"]
-],[
- "start"
-],[
- "start",
- ["storage.type.lsl","key"],
- ["text.lsl"," "],
- ["identifier","someKeyTexture"],
- ["text.lsl"," "],
- ["keyword.operator.lsl","="],
- ["text.lsl"," "],
- ["constant.language.string.lsl","TEXTURE_DEFAULT"],
- ["punctuation.operator.lsl",";"]
-],[
- "start",
- ["storage.type.lsl","string"],
- ["text.lsl"," "],
- ["identifier","someStringSpecial"],
- ["text.lsl"," "],
- ["keyword.operator.lsl","="],
- ["text.lsl"," "],
- ["constant.language.string.lsl","EOF"],
- ["punctuation.operator.lsl",";"]
-],[
- "start"
-],[
- "start",
- ["identifier","some_user_defined_function_without_return_type"],
- ["paren.lparen.lsl","("],
- ["storage.type.lsl","string"],
- ["text.lsl"," "],
- ["identifier","inputAsString"],
- ["paren.rparen.lsl",")"]
-],[
- "start",
- ["paren.lparen.lsl","{"]
-],[
- "start",
- ["text.lsl"," "],
- ["support.function.lsl","llSay"],
- ["paren.lparen.lsl","("],
- ["constant.language.integer.lsl","PUBLIC_CHANNEL"],
- ["punctuation.operator.lsl",","],
- ["text.lsl"," "],
- ["identifier","inputAsString"],
- ["paren.rparen.lsl",")"],
- ["punctuation.operator.lsl",";"]
-],[
- "start",
- ["paren.rparen.lsl","}"]
-],[
- "start"
-],[
- "start",
- ["storage.type.lsl","string"],
- ["text.lsl"," "],
- ["identifier","user_defined_function_returning_a_string"],
- ["paren.lparen.lsl","("],
- ["storage.type.lsl","key"],
- ["text.lsl"," "],
- ["identifier","inputAsKey"],
- ["paren.rparen.lsl",")"]
-],[
- "start",
- ["paren.lparen.lsl","{"]
-],[
- "start",
- ["text.lsl"," "],
- ["keyword.control.lsl","return"],
- ["text.lsl"," "],
- ["paren.lparen.lsl","("],
- ["storage.type.lsl","string"],
- ["paren.rparen.lsl",")"],
- ["identifier","inputAsKey"],
- ["punctuation.operator.lsl",";"]
-],[
- "start",
- ["paren.rparen.lsl","}"]
-],[
- "start"
-],[
- "start",
- ["entity.name.state.lsl","default"]
-],[
- "start",
- ["paren.lparen.lsl","{"]
-],[
- "start",
- ["text.lsl"," "],
- ["support.function.event.lsl","state_entry"],
- ["paren.lparen.lsl","("],
- ["paren.rparen.lsl",")"]
-],[
- "start",
- ["text.lsl"," "],
- ["paren.lparen.lsl","{"]
-],[
- "start",
- ["text.lsl"," "],
- ["storage.type.lsl","key"],
- ["text.lsl"," "],
- ["identifier","someKey"],
- ["text.lsl"," "],
- ["keyword.operator.lsl","="],
- ["text.lsl"," "],
- ["constant.language.string.lsl","NULL_KEY"],
- ["punctuation.operator.lsl",";"]
-],[
- "start",
- ["text.lsl"," "],
- ["identifier","someKey"],
- ["text.lsl"," "],
- ["keyword.operator.lsl","="],
- ["text.lsl"," "],
- ["support.function.lsl","llGetOwner"],
- ["paren.lparen.lsl","("],
- ["paren.rparen.lsl",")"],
- ["punctuation.operator.lsl",";"]
-],[
- "start"
-],[
- "start",
- ["text.lsl"," "],
- ["storage.type.lsl","string"],
- ["text.lsl"," "],
- ["identifier","someString"],
- ["text.lsl"," "],
- ["keyword.operator.lsl","="],
- ["text.lsl"," "],
- ["identifier","user_defined_function_returning_a_string"],
- ["paren.lparen.lsl","("],
- ["identifier","someKey"],
- ["paren.rparen.lsl",")"],
- ["punctuation.operator.lsl",";"]
-],[
- "start"
-],[
- "start",
- ["text.lsl"," "],
- ["identifier","some_user_defined_function_without_return_type"],
- ["paren.lparen.lsl","("],
- ["identifier","someString"],
- ["paren.rparen.lsl",")"],
- ["punctuation.operator.lsl",";"]
-],[
- "start",
- ["text.lsl"," "],
- ["paren.rparen.lsl","}"]
-],[
- "start"
-],[
- "start",
- ["text.lsl"," "],
- ["support.function.event.lsl","touch_start"],
- ["paren.lparen.lsl","("],
- ["storage.type.lsl","integer"],
- ["text.lsl"," "],
- ["identifier","num_detected"],
- ["paren.rparen.lsl",")"]
-],[
- "start",
- ["text.lsl"," "],
- ["paren.lparen.lsl","{"]
-],[
- "start",
- ["text.lsl"," "],
- ["storage.type.lsl","list"],
- ["text.lsl"," "],
- ["identifier","agentsInRegion"],
- ["text.lsl"," "],
- ["keyword.operator.lsl","="],
- ["text.lsl"," "],
- ["support.function.lsl","llGetAgentList"],
- ["paren.lparen.lsl","("],
- ["constant.language.integer.lsl","AGENT_LIST_REGION"],
- ["punctuation.operator.lsl",","],
- ["text.lsl"," "],
- ["paren.lparen.lsl","["],
- ["paren.rparen.lsl","])"],
- ["punctuation.operator.lsl",";"]
-],[
- "start",
- ["text.lsl"," "],
- ["storage.type.lsl","integer"],
- ["text.lsl"," "],
- ["identifier","numOfAgents"],
- ["text.lsl"," "],
- ["keyword.operator.lsl","="],
- ["text.lsl"," "],
- ["support.function.lsl","llGetListLength"],
- ["paren.lparen.lsl","("],
- ["identifier","agentsInRegion"],
- ["paren.rparen.lsl",")"],
- ["punctuation.operator.lsl",";"]
-],[
- "start"
-],[
- "start",
- ["text.lsl"," "],
- ["storage.type.lsl","integer"],
- ["text.lsl"," "],
- ["identifier","index"],
- ["punctuation.operator.lsl",";"],
- ["text.lsl"," "],
- ["comment.line.double-slash.lsl","// defaults to 0"]
-],[
- "start",
- ["text.lsl"," "],
- ["keyword.control.lsl","for"],
- ["text.lsl"," "],
- ["paren.lparen.lsl","("],
- ["punctuation.operator.lsl",";"],
- ["text.lsl"," "],
- ["identifier","index"],
- ["text.lsl"," "],
- ["keyword.operator.lsl","<="],
- ["text.lsl"," "],
- ["identifier","numOfAgents"],
- ["text.lsl"," "],
- ["keyword.operator.lsl","-"],
- ["text.lsl"," "],
- ["constant.numeric.lsl","1"],
- ["punctuation.operator.lsl",";"],
- ["text.lsl"," "],
- ["identifier","index"],
- ["keyword.operator.lsl","++"],
- ["paren.rparen.lsl",")"],
- ["text.lsl"," "],
- ["comment.line.double-slash.lsl","// for each agent in region"]
-],[
- "start",
- ["text.lsl"," "],
- ["paren.lparen.lsl","{"]
-],[
- "start",
- ["text.lsl"," "],
- ["support.function.lsl","llRegionSayTo"],
- ["paren.lparen.lsl","("],
- ["support.function.lsl","llList2Key"],
- ["paren.lparen.lsl","("],
- ["identifier","agentsInRegion"],
- ["punctuation.operator.lsl",","],
- ["text.lsl"," "],
- ["identifier","index"],
- ["paren.rparen.lsl",")"],
- ["punctuation.operator.lsl",","],
- ["text.lsl"," "],
- ["constant.language.integer.lsl","PUBLIC_CHANNEL"],
- ["punctuation.operator.lsl",","],
- ["text.lsl"," "],
- ["string.quoted.double.lsl.start","\""],
- ["string.quoted.double.lsl","Hello, Avatar!"],
- ["string.quoted.double.lsl.end","\""],
- ["paren.rparen.lsl",")"],
- ["punctuation.operator.lsl",";"]
-],[
- "start",
- ["text.lsl"," "],
- ["paren.rparen.lsl","}"]
-],[
- "start",
- ["text.lsl"," "],
- ["paren.rparen.lsl","}"]
-],[
- "start"
-],[
- "start",
- ["text.lsl"," "],
- ["support.function.event.lsl","touch_end"],
- ["paren.lparen.lsl","("],
- ["storage.type.lsl","integer"],
- ["text.lsl"," "],
- ["identifier","num_detected"],
- ["paren.rparen.lsl",")"]
-],[
- "start",
- ["text.lsl"," "],
- ["paren.lparen.lsl","{"]
-],[
- "start",
- ["text.lsl"," "],
- ["identifier","someIntNormal"],
- ["text.lsl"," "],
- ["keyword.operator.lsl","="],
- ["text.lsl"," "],
- ["constant.numeric.lsl","3672"],
- ["punctuation.operator.lsl",";"]
-],[
- "start",
- ["text.lsl"," "],
- ["identifier","someIntHex"],
- ["text.lsl"," "],
- ["keyword.operator.lsl","="],
- ["text.lsl"," "],
- ["constant.numeric.lsl","0x00000000"],
- ["punctuation.operator.lsl",";"]
-],[
- "start",
- ["text.lsl"," "],
- ["identifier","someIntMath"],
- ["text.lsl"," "],
- ["keyword.operator.lsl","="],
- ["text.lsl"," "],
- ["constant.language.float.lsl","PI_BY_TWO"],
- ["punctuation.operator.lsl",";"]
-],[
- "start"
-],[
- "start",
- ["text.lsl"," "],
- ["invalid.unimplemented.lsl","event"],
- ["text.lsl"," "],
- ["keyword.operator.lsl","="],
- ["text.lsl"," "],
- ["constant.numeric.lsl","5673"],
- ["punctuation.operator.lsl",";"],
- ["text.lsl"," "],
- ["comment.line.double-slash.lsl","// unimplemented reserved keyword!"]
-],[
- "start"
-],[
- "start",
- ["text.lsl"," "],
- ["identifier","someKeyTexture"],
- ["text.lsl"," "],
- ["keyword.operator.lsl","="],
- ["text.lsl"," "],
- ["constant.language.string.lsl","TEXTURE_DEFAULT"],
- ["punctuation.operator.lsl",";"]
-],[
- "start",
- ["text.lsl"," "],
- ["identifier","someStringSpecial"],
- ["text.lsl"," "],
- ["keyword.operator.lsl","="],
- ["text.lsl"," "],
- ["constant.language.string.lsl","EOF"],
- ["punctuation.operator.lsl",";"]
-],[
- "start"
-],[
- "start",
- ["text.lsl"," "],
- ["invalid.deprecated.lsl","llCloud"],
- ["paren.lparen.lsl","("],
- ["constant.language.vector.lsl","ZERO_VECTOR"],
- ["paren.rparen.lsl",")"],
- ["punctuation.operator.lsl",";"],
- ["text.lsl"," "],
- ["comment.line.double-slash.lsl","// invalid deprecated function!"]
-],[
- "start"
-],[
- "start",
- ["text.lsl"," "],
- ["support.function.lsl","llWhisper"],
- ["paren.lparen.lsl","("],
- ["constant.language.integer.lsl","PUBLIC_CHANNEL"],
- ["punctuation.operator.lsl",","],
- ["text.lsl"," "],
- ["string.quoted.double.lsl.start","\""],
- ["string.quoted.double.lsl","Leaving "],
- ["constant.language.escape.lsl","\\\""],
- ["string.quoted.double.lsl","default"],
- ["constant.language.escape.lsl","\\\""],
- ["string.quoted.double.lsl"," now..."],
- ["string.quoted.double.lsl.end","\""],
- ["paren.rparen.lsl",")"],
- ["punctuation.operator.lsl",";"]
-],[
- "start",
- ["text.lsl"," "],
- ["entity.name.state.lsl","state other"],
- ["punctuation.operator.lsl",";"]
-],[
- "start",
- ["text.lsl"," "],
- ["paren.rparen.lsl","}"]
-],[
- "start",
- ["paren.rparen.lsl","}"]
-],[
- "start"
-],[
- "start",
- ["entity.name.state.lsl","state other"]
-],[
- "start",
- ["paren.lparen.lsl","{"]
-],[
- "start",
- ["text.lsl"," "],
- ["support.function.event.lsl","state_entry"],
- ["paren.lparen.lsl","("],
- ["paren.rparen.lsl",")"]
-],[
- "start",
- ["text.lsl"," "],
- ["paren.lparen.lsl","{"]
-],[
- "start",
- ["text.lsl"," "],
- ["support.function.lsl","llWhisper"],
- ["paren.lparen.lsl","("],
- ["constant.language.integer.lsl","PUBLIC_CHANNEL"],
- ["punctuation.operator.lsl",","],
- ["text.lsl"," "],
- ["string.quoted.double.lsl.start","\""],
- ["string.quoted.double.lsl","Entered "],
- ["constant.language.escape.lsl","\\\""],
- ["string.quoted.double.lsl","state other"],
- ["constant.language.escape.lsl","\\\""],
- ["string.quoted.double.lsl",", returning to "],
- ["constant.language.escape.lsl","\\\""],
- ["string.quoted.double.lsl","default"],
- ["constant.language.escape.lsl","\\\""],
- ["string.quoted.double.lsl"," again..."],
- ["string.quoted.double.lsl.end","\""],
- ["paren.rparen.lsl",")"],
- ["punctuation.operator.lsl",";"]
-],[
- "start",
- ["text.lsl"," "],
- ["entity.name.state.lsl","state default"],
- ["punctuation.operator.lsl",";"]
-],[
- "start",
- ["text.lsl"," "],
- ["paren.rparen.lsl","}"]
-],[
- "start",
- ["paren.rparen.lsl","}"]
-],[
- "start"
-]]
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/couchdb/blob/5b8fb9c3/src/fauxton/assets/js/libs/ace/mode/_test/tokens_lua.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_lua.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_lua.json
deleted file mode 100644
index 276b3ff..0000000
--- a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_lua.json
+++ /dev/null
@@ -1,348 +0,0 @@
-[[
- ["bracketedComment",2,"start"],
- ["comment","--[[--"]
-],[
- ["bracketedComment",2,"start"],
- ["comment","num_args takes in 5.1 byte code and extracts the number of arguments"]
-],[
- ["bracketedComment",2,"start"],
- ["comment","from its function header."]
-],[
- "start",
- ["comment","--]]--"]
-],[
- "start"
-],[
- "start",
- ["keyword","function"],
- ["text"," "],
- ["identifier","int"],
- ["paren.lparen","("],
- ["identifier","t"],
- ["paren.rparen",")"]
-],[
- "start",
- ["text","\t"],
- ["keyword","return"],
- ["text"," "],
- ["identifier","t"],
- ["keyword.operator",":"],
- ["support.function","byte"],
- ["paren.lparen","("],
- ["constant.numeric","1"],
- ["paren.rparen",")"],
- ["keyword.operator","+"],
- ["identifier","t"],
- ["keyword.operator",":"],
- ["support.function","byte"],
- ["paren.lparen","("],
- ["constant.numeric","2"],
- ["paren.rparen",")"],
- ["keyword.operator","*"],
- ["constant.numeric","0x100"],
- ["keyword.operator","+"],
- ["identifier","t"],
- ["keyword.operator",":"],
- ["support.function","byte"],
- ["paren.lparen","("],
- ["constant.numeric","3"],
- ["paren.rparen",")"],
- ["keyword.operator","*"],
- ["constant.numeric","0x10000"],
- ["keyword.operator","+"],
- ["identifier","t"],
- ["keyword.operator",":"],
- ["support.function","byte"],
- ["paren.lparen","("],
- ["constant.numeric","4"],
- ["paren.rparen",")"],
- ["keyword.operator","*"],
- ["constant.numeric","0x1000000"]
-],[
- "start",
- ["keyword","end"]
-],[
- "start"
-],[
- "start",
- ["keyword","function"],
- ["text"," "],
- ["identifier","num_args"],
- ["paren.lparen","("],
- ["identifier","func"],
- ["paren.rparen",")"]
-],[
- "start",
- ["text","\t"],
- ["keyword","local"],
- ["text"," "],
- ["support.function","dump"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," "],
- ["constant.library","string"],
- ["text","."],
- ["support.function","dump"],
- ["paren.lparen","("],
- ["identifier","func"],
- ["paren.rparen",")"]
-],[
- "start",
- ["text","\t"],
- ["keyword","local"],
- ["text"," "],
- ["identifier","offset"],
- ["text",", "],
- ["identifier","cursor"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," "],
- ["identifier","int"],
- ["paren.lparen","("],
- ["support.function","dump"],
- ["keyword.operator",":"],
- ["support.function","sub"],
- ["paren.lparen","("],
- ["constant.numeric","13"],
- ["paren.rparen","))"],
- ["text",", "],
- ["identifier","offset"],
- ["text"," "],
- ["keyword.operator","+"],
- ["text"," "],
- ["constant.numeric","26"]
-],[
- "start",
- ["text","\t"],
- ["comment","--Get the params and var flag (whether there's a ... in the param)"]
-],[
- "start",
- ["text","\t"],
- ["keyword","return"],
- ["text"," "],
- ["support.function","dump"],
- ["keyword.operator",":"],
- ["support.function","sub"],
- ["paren.lparen","("],
- ["identifier","cursor"],
- ["paren.rparen",")"],
- ["keyword.operator",":"],
- ["support.function","byte"],
- ["paren.lparen","("],
- ["paren.rparen",")"],
- ["text",", "],
- ["support.function","dump"],
- ["keyword.operator",":"],
- ["support.function","sub"],
- ["paren.lparen","("],
- ["identifier","cursor"],
- ["keyword.operator","+"],
- ["constant.numeric","1"],
- ["paren.rparen",")"],
- ["keyword.operator",":"],
- ["support.function","byte"],
- ["paren.lparen","("],
- ["paren.rparen",")"]
-],[
- "start",
- ["keyword","end"]
-],[
- "start"
-],[
- "start",
- ["comment","-- Usage:"]
-],[
- "start",
- ["identifier","num_args"],
- ["paren.lparen","("],
- ["keyword","function"],
- ["paren.lparen","("],
- ["identifier","a"],
- ["text",","],
- ["identifier","b"],
- ["text",","],
- ["identifier","c"],
- ["text",","],
- ["identifier","d"],
- ["text",", "],
- ["keyword.operator","..."],
- ["paren.rparen",")"],
- ["text"," "],
- ["keyword","end"],
- ["paren.rparen",")"],
- ["text"," "],
- ["comment","-- return 4, 7"]
-],[
- "start"
-],[
- "start",
- ["comment","-- Python styled string format operator"]
-],[
- "start",
- ["keyword","local"],
- ["text"," "],
- ["identifier","gm"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," "],
- ["constant.library","debug"],
- ["text","."],
- ["support.function","getmetatable"],
- ["paren.lparen","("],
- ["string","\"\""],
- ["paren.rparen",")"]
-],[
- "start"
-],[
- "start",
- ["identifier","gm"],
- ["text","."],
- ["support.function","__mod"],
- ["keyword.operator","="],
- ["keyword","function"],
- ["paren.lparen","("],
- ["identifier","self"],
- ["text",", "],
- ["identifier","other"],
- ["paren.rparen",")"]
-],[
- "start",
- ["text"," "],
- ["keyword","if"],
- ["text"," "],
- ["support.function","type"],
- ["paren.lparen","("],
- ["identifier","other"],
- ["paren.rparen",")"],
- ["text"," "],
- ["keyword.operator","~="],
- ["text"," "],
- ["string","\"table\""],
- ["text"," "],
- ["keyword","then"],
- ["text"," "],
- ["identifier","other"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," "],
- ["paren.lparen","{"],
- ["identifier","other"],
- ["paren.rparen","}"],
- ["text"," "],
- ["keyword","end"]
-],[
- "start",
- ["text"," "],
- ["keyword","for"],
- ["text"," "],
- ["identifier","i"],
- ["text",","],
- ["identifier","v"],
- ["text"," "],
- ["keyword","in"],
- ["text"," "],
- ["support.function","ipairs"],
- ["paren.lparen","("],
- ["identifier","other"],
- ["paren.rparen",")"],
- ["text"," "],
- ["keyword","do"],
- ["text"," "],
- ["identifier","other"],
- ["paren.lparen","["],
- ["identifier","i"],
- ["paren.rparen","]"],
- ["text"," "],
- ["keyword.operator","="],
- ["text"," "],
- ["support.function","tostring"],
- ["paren.lparen","("],
- ["identifier","v"],
- ["paren.rparen",")"],
- ["text"," "],
- ["keyword","end"]
-],[
- "start",
- ["text"," "],
- ["keyword","return"],
- ["text"," "],
- ["identifier","self"],
- ["keyword.operator",":"],
- ["support.function","format"],
- ["paren.lparen","("],
- ["support.function","unpack"],
- ["paren.lparen","("],
- ["identifier","other"],
- ["paren.rparen","))"]
-],[
- "start",
- ["keyword","end"]
-],[
- "start"
-],[
- ["bracketedString",5,"start"],
- ["support.function","print"],
- ["paren.lparen","("],
- ["comment","[===["]
-],[
- ["bracketedString",5,"start"],
- ["comment"," blah blah %s, (%d %d)"]
-],[
- "start",
- ["comment","]===]"],
- ["keyword.operator","%"],
- ["paren.lparen","{"],
- ["string","\"blah\""],
- ["text",", "],
- ["identifier","num_args"],
- ["paren.lparen","("],
- ["identifier","int"],
- ["paren.rparen",")})"]
-],[
- "start"
-],[
- ["bracketedComment",3,"start"],
- ["comment","--[=[--"]
-],[
- ["bracketedComment",3,"start"],
- ["comment","table.maxn is deprecated, use # instead."]
-],[
- "start",
- ["comment","--]=]--"]
-],[
- "start",
- ["support.function","print"],
- ["paren.lparen","("],
- ["constant.library","table"],
- ["text","."],
- ["invalid.deprecated","maxn"],
- ["paren.lparen","{"],
- ["constant.numeric","1"],
- ["text",","],
- ["constant.numeric","2"],
- ["text",","],
- ["paren.lparen","["],
- ["constant.numeric","4"],
- ["paren.rparen","]"],
- ["keyword.operator","="],
- ["constant.numeric","4"],
- ["text",","],
- ["paren.lparen","["],
- ["constant.numeric","8"],
- ["paren.rparen","]"],
- ["keyword.operator","="],
- ["constant.numeric","8"],
- ["paren.rparen",")"],
- ["text"," "],
- ["comment","-- outputs 8 instead of 2"]
-],[
- "start"
-],[
- "start",
- ["support.function","print"],
- ["paren.lparen","("],
- ["constant.numeric","5"],
- ["text"," "],
- ["comment","--[[ blah ]]"],
- ["paren.rparen",")"]
-]]
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/couchdb/blob/5b8fb9c3/src/fauxton/assets/js/libs/ace/mode/_test/tokens_luapage.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_luapage.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_luapage.json
deleted file mode 100644
index 3cee081..0000000
--- a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_luapage.json
+++ /dev/null
@@ -1,633 +0,0 @@
-[[
- "doctype",
- ["text",""],
- ["punctuation.doctype.begin","<!"],
- ["meta.tag.doctype","DOCTYPE"],
- ["text"," "],
- ["xml-pe","html"],
- ["text"," "],
- ["xml-pe","PUBLIC"],
- ["text"," "],
- ["string","\"-//W3C//DTD XHTML 1.0 Strict//EN\""]
-],[
- "start",
- ["text"," "],
- ["string","\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\""],
- ["punctuation.doctype.end",">"]
-],[
- "start",
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","html"],
- ["meta.tag.punctuation.end",">"]
-],[
- ["lua-bracketedComment",2,"lua-start"],
- ["keyword","<%"],
- ["text"," "],
- ["comment","--[[--"]
-],[
- ["lua-bracketedComment",2,"lua-start"],
- ["comment"," index.lp from the Kepler Project's LuaDoc HTML doclet."]
-],[
- ["lua-bracketedComment",2,"lua-start"],
- ["comment"," http://keplerproject.github.com/luadoc/"]
-],[
- "start",
- ["comment","--]]"],
- ["text"," "],
- ["keyword","%>"]
-],[
- "start",
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","head"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["text"," "],
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","title"],
- ["meta.tag.punctuation.end",">"],
- ["text","Reference"],
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","title"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["text"," "],
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","link"],
- ["text"," "],
- ["entity.other.attribute-name","rel"],
- ["keyword.operator.separator","="],
- ["string","\"stylesheet\""],
- ["text"," "],
- ["entity.other.attribute-name","href"],
- ["keyword.operator.separator","="],
- ["string","\""],
- ["keyword","<%="],
- ["identifier","luadoc"],
- ["text","."],
- ["identifier","doclet"],
- ["text","."],
- ["identifier","html"],
- ["text","."],
- ["identifier","link"],
- ["paren.lparen","("],
- ["string","\"luadoc.css\""],
- ["paren.rparen",")"],
- ["keyword","%>"],
- ["string","\""],
- ["text"," "],
- ["entity.other.attribute-name","type"],
- ["keyword.operator.separator","="],
- ["string","\"text/css\""],
- ["text"," "],
- ["meta.tag.punctuation.end","/>"]
-],[
- "start",
- ["text","\t"],
- ["comment","<!--meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/-->"]
-],[
- "start",
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","head"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start"
-],[
- "start",
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","body"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","div"],
- ["text"," "],
- ["entity.other.attribute-name","id"],
- ["keyword.operator.separator","="],
- ["string","\"container\""],
- ["meta.tag.punctuation.end",">"]
-],[
- "start"
-],[
- "start",
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","div"],
- ["text"," "],
- ["entity.other.attribute-name","id"],
- ["keyword.operator.separator","="],
- ["string","\"product\""],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["text","\t"],
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","div"],
- ["text"," "],
- ["entity.other.attribute-name","id"],
- ["keyword.operator.separator","="],
- ["string","\"product_logo\""],
- ["meta.tag.punctuation.end",">"],
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","div"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["text","\t"],
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","div"],
- ["text"," "],
- ["entity.other.attribute-name","id"],
- ["keyword.operator.separator","="],
- ["string","\"product_name\""],
- ["meta.tag.punctuation.end",">"],
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","big"],
- ["meta.tag.punctuation.end",">"],
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","b"],
- ["meta.tag.punctuation.end",">"],
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","b"],
- ["meta.tag.punctuation.end",">"],
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","big"],
- ["meta.tag.punctuation.end",">"],
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","div"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["text","\t"],
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","div"],
- ["text"," "],
- ["entity.other.attribute-name","id"],
- ["keyword.operator.separator","="],
- ["string","\"product_description\""],
- ["meta.tag.punctuation.end",">"],
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","div"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","div"],
- ["meta.tag.punctuation.end",">"],
- ["text"," "],
- ["comment","<!-- id=\"product\" -->"]
-],[
- "start"
-],[
- "start",
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","div"],
- ["text"," "],
- ["entity.other.attribute-name","id"],
- ["keyword.operator.separator","="],
- ["string","\"main\""],
- ["meta.tag.punctuation.end",">"]
-],[
- "start"
-],[
- "start",
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","div"],
- ["text"," "],
- ["entity.other.attribute-name","id"],
- ["keyword.operator.separator","="],
- ["string","\"navigation\""],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["keyword","<%="],
- ["identifier","luadoc"],
- ["text","."],
- ["identifier","doclet"],
- ["text","."],
- ["identifier","html"],
- ["text","."],
- ["identifier","include"],
- ["paren.lparen","("],
- ["string","\"menu.lp\""],
- ["text",", "],
- ["paren.lparen","{"],
- ["text"," "],
- ["identifier","doc"],
- ["keyword.operator","="],
- ["identifier","doc"],
- ["text"," "],
- ["paren.rparen","})"],
- ["keyword","%>"]
-],[
- "start"
-],[
- "start",
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","div"],
- ["meta.tag.punctuation.end",">"],
- ["text"," "],
- ["comment","<!-- id=\"navigation\" -->"]
-],[
- "start"
-],[
- "start",
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","div"],
- ["text"," "],
- ["entity.other.attribute-name","id"],
- ["keyword.operator.separator","="],
- ["string","\"content\""],
- ["meta.tag.punctuation.end",">"]
-],[
- "start"
-],[
- "start"
-],[
- "start",
- ["keyword","<%if"],
- ["text"," "],
- ["keyword","not"],
- ["text"," "],
- ["identifier","options"],
- ["text","."],
- ["identifier","nomodules"],
- ["text"," "],
- ["keyword","and"],
- ["text"," "],
- ["keyword.operator","#"],
- ["identifier","doc"],
- ["text","."],
- ["identifier","modules"],
- ["text"," "],
- ["keyword.operator",">"],
- ["text"," "],
- ["constant.numeric","0"],
- ["text"," "],
- ["keyword","then%>"]
-],[
- "start",
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","h2"],
- ["meta.tag.punctuation.end",">"],
- ["text","Modules"],
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","h2"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name.table","table"],
- ["text"," "],
- ["entity.other.attribute-name","class"],
- ["keyword.operator.separator","="],
- ["string","\"module_list\""],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["comment","<!--<tr><td colspan=\"2\">Modules</td></tr>-->"]
-],[
- "start",
- ["keyword","<%for"],
- ["text"," "],
- ["identifier","_"],
- ["text",", "],
- ["identifier","modulename"],
- ["text"," "],
- ["keyword","in"],
- ["text"," "],
- ["support.function","ipairs"],
- ["paren.lparen","("],
- ["identifier","doc"],
- ["text","."],
- ["identifier","modules"],
- ["paren.rparen",")"],
- ["text"," "],
- ["keyword","do%>"]
-],[
- "start",
- ["text","\t"],
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name.table","tr"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["text","\t\t"],
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name.table","td"],
- ["text"," "],
- ["entity.other.attribute-name","class"],
- ["keyword.operator.separator","="],
- ["string","\"name\""],
- ["meta.tag.punctuation.end",">"],
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name.anchor","a"],
- ["text"," "],
- ["entity.other.attribute-name","href"],
- ["keyword.operator.separator","="],
- ["string","\""],
- ["keyword","<%="],
- ["identifier","luadoc"],
- ["text","."],
- ["identifier","doclet"],
- ["text","."],
- ["identifier","html"],
- ["text","."],
- ["identifier","module_link"],
- ["paren.lparen","("],
- ["identifier","modulename"],
- ["text",", "],
- ["identifier","doc"],
- ["paren.rparen",")"],
- ["keyword","%>"],
- ["string","\""],
- ["meta.tag.punctuation.end",">"],
- ["keyword","<%="],
- ["identifier","modulename"],
- ["keyword","%>"],
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name.anchor","a"],
- ["meta.tag.punctuation.end",">"],
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name.table","td"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["text","\t\t"],
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name.table","td"],
- ["text"," "],
- ["entity.other.attribute-name","class"],
- ["keyword.operator.separator","="],
- ["string","\"summary\""],
- ["meta.tag.punctuation.end",">"],
- ["keyword","<%="],
- ["identifier","doc"],
- ["text","."],
- ["identifier","modules"],
- ["paren.lparen","["],
- ["identifier","modulename"],
- ["paren.rparen","]"],
- ["text","."],
- ["identifier","summary"],
- ["keyword","%>"],
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name.table","td"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["text","\t"],
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name.table","tr"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["keyword","<%end%>"]
-],[
- "start",
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name.table","table"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["keyword","<%end%>"]
-],[
- "start"
-],[
- "start"
-],[
- "start"
-],[
- "start",
- ["keyword","<%if"],
- ["text"," "],
- ["keyword","not"],
- ["text"," "],
- ["identifier","options"],
- ["text","."],
- ["identifier","nofiles"],
- ["text"," "],
- ["keyword","and"],
- ["text"," "],
- ["keyword.operator","#"],
- ["identifier","doc"],
- ["text","."],
- ["identifier","files"],
- ["text"," "],
- ["keyword.operator",">"],
- ["text"," "],
- ["constant.numeric","0"],
- ["text"," "],
- ["keyword","then%>"]
-],[
- "start",
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","h2"],
- ["meta.tag.punctuation.end",">"],
- ["text","Files"],
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","h2"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name.table","table"],
- ["text"," "],
- ["entity.other.attribute-name","class"],
- ["keyword.operator.separator","="],
- ["string","\"file_list\""],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["comment","<!--<tr><td colspan=\"2\">Files</td></tr>-->"]
-],[
- "start",
- ["keyword","<%for"],
- ["text"," "],
- ["identifier","_"],
- ["text",", "],
- ["identifier","filepath"],
- ["text"," "],
- ["keyword","in"],
- ["text"," "],
- ["support.function","ipairs"],
- ["paren.lparen","("],
- ["identifier","doc"],
- ["text","."],
- ["identifier","files"],
- ["paren.rparen",")"],
- ["text"," "],
- ["keyword","do%>"]
-],[
- "start",
- ["text","\t"],
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name.table","tr"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["text","\t\t"],
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name.table","td"],
- ["text"," "],
- ["entity.other.attribute-name","class"],
- ["keyword.operator.separator","="],
- ["string","\"name\""],
- ["meta.tag.punctuation.end",">"],
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name.anchor","a"],
- ["text"," "],
- ["entity.other.attribute-name","href"],
- ["keyword.operator.separator","="],
- ["string","\""],
- ["keyword","<%="],
- ["identifier","luadoc"],
- ["text","."],
- ["identifier","doclet"],
- ["text","."],
- ["identifier","html"],
- ["text","."],
- ["identifier","file_link"],
- ["paren.lparen","("],
- ["identifier","filepath"],
- ["paren.rparen",")"],
- ["keyword","%>"],
- ["string","\""],
- ["meta.tag.punctuation.end",">"],
- ["keyword","<%="],
- ["identifier","filepath"],
- ["keyword","%>"],
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name.anchor","a"],
- ["meta.tag.punctuation.end",">"],
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name.table","td"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["text","\t\t"],
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name.table","td"],
- ["text"," "],
- ["entity.other.attribute-name","class"],
- ["keyword.operator.separator","="],
- ["string","\"summary\""],
- ["meta.tag.punctuation.end",">"],
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name.table","td"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["text","\t"],
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name.table","tr"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["keyword","<%end%>"]
-],[
- "start",
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name.table","table"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["keyword","<%end%>"]
-],[
- "start"
-],[
- "start",
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","div"],
- ["meta.tag.punctuation.end",">"],
- ["text"," "],
- ["comment","<!-- id=\"content\" -->"]
-],[
- "start"
-],[
- "start",
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","div"],
- ["meta.tag.punctuation.end",">"],
- ["text"," "],
- ["comment","<!-- id=\"main\" -->"]
-],[
- "start"
-],[
- "start",
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","div"],
- ["text"," "],
- ["entity.other.attribute-name","id"],
- ["keyword.operator.separator","="],
- ["string","\"about\""],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["text","\t"],
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","p"],
- ["meta.tag.punctuation.end",">"],
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name.anchor","a"],
- ["text"," "],
- ["entity.other.attribute-name","href"],
- ["keyword.operator.separator","="],
- ["string","\"http://validator.w3.org/check?uri=referer\""],
- ["meta.tag.punctuation.end",">"],
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name.image","img"],
- ["text"," "],
- ["entity.other.attribute-name","src"],
- ["keyword.operator.separator","="],
- ["string","\"http://www.w3.org/Icons/valid-xhtml10\""],
- ["text"," "],
- ["entity.other.attribute-name","alt"],
- ["keyword.operator.separator","="],
- ["string","\"Valid XHTML 1.0!\""],
- ["text"," "],
- ["entity.other.attribute-name","height"],
- ["keyword.operator.separator","="],
- ["string","\"31\""],
- ["text"," "],
- ["entity.other.attribute-name","width"],
- ["keyword.operator.separator","="],
- ["string","\"88\""],
- ["text"," "],
- ["meta.tag.punctuation.end","/>"],
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name.anchor","a"],
- ["meta.tag.punctuation.end",">"],
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","p"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","div"],
- ["meta.tag.punctuation.end",">"],
- ["text"," "],
- ["comment","<!-- id=\"about\" -->"]
-],[
- "start"
-],[
- "start",
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","div"],
- ["meta.tag.punctuation.end",">"],
- ["text"," "],
- ["comment","<!-- id=\"container\" -->"],
- ["text","\t"]
-],[
- "start",
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","body"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start",
- ["meta.tag.punctuation.begin","</"],
- ["meta.tag.name","html"],
- ["meta.tag.punctuation.end",">"]
-],[
- "start"
-]]
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/couchdb/blob/5b8fb9c3/src/fauxton/assets/js/libs/ace/mode/_test/tokens_lucene.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_lucene.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_lucene.json
deleted file mode 100644
index 1f6d298..0000000
--- a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_lucene.json
+++ /dev/null
@@ -1,92 +0,0 @@
-[[
- "start",
- ["keyword","test:"],
- ["text"," recognises "],
- ["keyword.operator","AND"],
- ["text"," as keyword"]
-],[
- "start",
- ["keyword","test:"],
- ["text"," recognises "],
- ["keyword.operator","OR"],
- ["text"," as keyword"]
-],[
- "start",
- ["keyword","test:"],
- ["text"," recognises "],
- ["keyword.operator","NOT"],
- ["text"," as keyword"]
-],[
- "start",
- ["keyword","test:"],
- ["text"," recognises "],
- ["string","\"hello this is dog\""],
- ["text"," as string"]
-],[
- "start",
- ["keyword","test:"],
- ["text"," recognises "],
- ["constant.character.negation","-"],
- ["string","\"hello this is dog\""],
- ["text"," as negation with string"]
-],[
- "start",
- ["keyword","test:"],
- ["text"," recognises "],
- ["constant.character.proximity","~100"],
- ["text"," as text with proximity"]
-],[
- "start",
- ["keyword","test:"],
- ["text"," recognises "],
- ["string","\"hello this is dog\""],
- ["constant.character.proximity","~100"],
- ["text"," as string with proximity"]
-],[
- "start",
- ["keyword","test:"],
- ["text"," recognises "],
- ["keyword","raw:"],
- ["string","\"hello this is dog\""],
- ["text"," as keyword"]
-],[
- "start",
- ["keyword","test:"],
- ["text"," recognises "],
- ["keyword","raw:"],
- ["text","foo as\"keyword'"]
-],[
- "start",
- ["keyword","test:"],
- ["text"," recognises "],
- ["string","\"(\""],
- ["text"," as opening parenthesis"]
-],[
- "start",
- ["keyword","test:"],
- ["text"," recognises "],
- ["string","\")\""],
- ["text"," as closing parenthesis"]
-],[
- "start",
- ["keyword","test:"],
- ["text"," recognises foo"],
- ["constant.character.asterisk","*"],
- ["text"," as text with asterisk"]
-],[
- "start",
- ["keyword","test:"],
- ["text"," recognises foo"],
- ["constant.character.interro","?"],
- ["text"," as text with interro"]
-],[
- "start",
- ["keyword","test:"],
- ["text"," recognises single word as text"]
-],[
- "start",
- ["text"," foo"]
-],[
- "start",
- ["text"," "]
-]]
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/couchdb/blob/5b8fb9c3/src/fauxton/assets/js/libs/ace/mode/_test/tokens_markdown.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_markdown.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_markdown.json
deleted file mode 100644
index 3c0db62..0000000
--- a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_markdown.json
+++ /dev/null
@@ -1,114 +0,0 @@
-[[
- "start",
- ["text","test: header 1 "]
-],[
- "start",
- ["markup.heading.1","#"],
- ["heading","f"]
-],[
- "start",
- ["text","test: header 2"]
-],[
- "start",
- ["markup.heading.2","##"],
- ["heading"," foo"]
-],[
- "start",
- ["text","test: header ends with ' #'"]
-],[
- "start",
- ["markup.heading.1","#"],
- ["heading"," # # "]
-],[
- "start",
- ["text","test: header ends with '#'"]
-],[
- "start",
- ["markup.heading.1","#"],
- ["heading","foo# "]
-],[
- "start",
- ["text","test: 6+ #s is not a valid header"]
-],[
- "start",
- ["text","####### foo"]
-],[
- "start",
- ["text","test: # followed be only space is not a valid header"]
-],[
- "start",
- ["text","# "]
-],[
- "start",
- ["text","test: only space between #s is not a valid header"]
-],[
- "start",
- ["text","# #"]
-],[
- "allowBlock"
-],[
- "start",
- ["markup.heading.1","#"],
- ["heading"," test links "],
- ["text","["],
- ["string","Cloud9 IDE"],
- ["text","]("],
- ["markup.underline","http://www.c9.io/"],
- ["text",")"],
- ["heading"," #"]
-],[
- "listblock",
- ["markup.list","* "],
- ["text","["],
- ["string","demo"],
- ["text","]("],
- ["markup.underline","http://ajaxorg.github.com/ace/"],
- ["text",")"],
- ["list"," "],
- ["text","["],
- ["string","+"],
- ["text","]("],
- ["markup.underline","escape(\\) "],
- ["text",")"],
- ["list"," "],
- ["text","["],
- ["string","+"],
- ["text","]("],
- ["markup.underline","a"],
- ["string"," \"title\""],
- ["text",")"],
- ["list"," "],
- ["text","["],
- ["string","+"],
- ["text","]("],
- ["markup.underline","a"],
- ["string"," \"space\" "],
- ["text",")"]
-],[
- "listblock",
- ["markup.list","* "],
- ["list","usually "],
- ["string","*work*"],
- ["list"," fine ("],
- ["string","_em_"],
- ["list",")"]
-],[
- "listblock",
- ["list","in lists"]
-],[
- "start"
-],[
- "start",
- ["text","in plain text "],
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","b"],
- ["meta.tag.punctuation.end",">"],
- ["text","http://ace.ajaxorg.com"],
- ["meta.tag.punctuation.begin","<"],
- ["meta.tag.name","b"],
- ["meta.tag.punctuation.end",">"]
-],[
- "allowBlock"
-],[
- "start"
-]]
\ No newline at end of file