%PDF- %PDF-
| Direktori : /data/old/home/stash/atlassian-stash/static/bower/CodeMirror/mode/jinja2/ |
| Current File : //data/old/home/stash/atlassian-stash/static/bower/CodeMirror/mode/jinja2/jinja2-min.js |
CodeMirror.defineMode("jinja2",function(){var A=["and","as","block","endblock","by","cycle","debug","else","elif","extends","filter","endfilter","firstof","for","endfor","if","endif","ifchanged","endifchanged","ifequal","endifequal","ifnotequal","endifnotequal","in","include","load","not","now","or","parsed","regroup","reversed","spaceless","endspaceless","ssi","templatetag","openblock","closeblock","openvariable","closevariable","openbrace","closebrace","opencomment","closecomment","widthratio","url","with","endwith","get_current_language","trans","noop","blocktrans","endblocktrans","get_available_languages","get_current_language_bidi","plural"];A=new RegExp("^(("+A.join(")|(")+"))\\b");function C(F,E){var D=F.next();if(D=="{"){if(D=F.eat(/\{|%|#/)){F.eat("-");E.tokenize=B(D);return"tag"}}}function B(D){if(D=="{"){D="}"}return function(G,F){var E=G.next();if((E==D||(E=="-"&&G.eat(D)))&&G.eat("}")){F.tokenize=C;return"tag"}if(G.match(A)){return"keyword"}return D=="#"?"comment":"string"}}return{startState:function(){return{tokenize:C}},token:function(E,D){return D.tokenize(E,D)}}});