- md5
- 7ae683b7895d6c70f9c781277cad2cab
- sha1
- c3e61ac58b0fc13258c8a12a285c9f5913f68004
- sha256
- 230e49caf4516dd73388e235e913e1c1782bf8c2b7d13a21fe27f51ad66f5435
!function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror"),require("../htmlmixed/htmlmixed"),require("../../addon/mode/overlay")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../htmlmixed/htmlmixed","../../addon/mode/overlay"],e):e(CodeMirror)}(function(e){"use strict";e.defineMode("tornado:inner",function(){function e(n,o){n.eatWhile(/[^\{]/);var r=n.next();if("{"==r&&(r=n.eat(/\{|%|#/)))return o.tokenize=function(n){"{"==n&&(n="}");return function(o,r){return o.next()==n&&o.eat("}")?(r.tokenize=e,"tag"):o.match(t)?"keyword":"#"==n?"comment":"string"}}(r),"tag"}var t=["and","as","assert","autoescape","block","break","class","comment","context","continue","datetime","def","del","elif","else","end","escape","except","exec","extends","false","finally","for","from","global","if","import","in","include","is","json_encode","lambda","length","linkify","load","module","none","not","or","pass","print","put","raise","raw","return","self","set","squeeze","super","true","try","url_escape","while","with","without","xhtml_escape","yield"];return t=new RegExp("^(("+t.join(")|(")+"))\\b"),{startState:function(){return{tokenize:e}},token:function(e,t){return t.tokenize(e,t)}}}),e.defineMode("tornado",function(t){var n=e.getMode(t,"text/html"),o=e.getMode(t,"tornado:inner");return e.overlayMode(n,o)}),e.defineMIME("text/x-tornado","tornado")});
No other release has this exact content. See every version of this file.