Sha256: 97a315ee83cfa911f9c5e6a143119c9ab16bc35089ad5ac900bfb5f0b95285f2

Contents?: true

Size: 1.2 KB

Versions: 4

Compression:

Stored size: 1.2 KB

Contents

//>>built
define("dojox/highlight/languages/pygments/html",["../../_base","./_html"],function(dh){
var _1=dh.languages,_2=[],ht=_1.pygments._html.tags;
for(var _3 in ht){
_2.push(_3);
}
_2="\\b("+_2.join("|")+")\\b";
_1.html={case_insensitive:true,defaultMode:{contains:["name entity","comment","comment preproc","_script","_style","_tag"]},modes:[{className:"comment",begin:"<!--",end:"-->"},{className:"comment preproc",begin:"\\<\\!\\[CDATA\\[",end:"\\]\\]\\>"},{className:"comment preproc",begin:"\\<\\!",end:"\\>"},{className:"string",begin:"'",end:"'",illegal:"\\n",relevance:0},{className:"string",begin:"\"",end:"\"",illegal:"\\n",relevance:0},{className:"name entity",begin:"\\&[a-z]+;",end:"^"},{className:"name tag",begin:_2,end:"^",relevance:5},{className:"name attribute",begin:"\\b[a-z0-9_\\:\\-]+\\s*=",end:"^",relevance:0},{className:"_script",begin:"\\<script\\b",end:"\\</script\\>",relevance:5},{className:"_style",begin:"\\<style\\b",end:"\\</style\\>",relevance:5},{className:"_tag",begin:"\\<(?!/)",end:"\\>",contains:["name tag","name attribute","string","_value"]},{className:"_tag",begin:"\\</",end:"\\>",contains:["name tag"]},{className:"_value",begin:"[^\\s\\>]+",end:"^"}]};
return _1.html;
});

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dojox-rails-0.14.0 vendor/assets/javascripts/dojox/highlight/languages/pygments/html.js
dojox-rails-0.13.0 vendor/assets/javascripts/dojox/highlight/languages/pygments/html.js
dojox-rails-0.12.0 vendor/assets/javascripts/dojox/highlight/languages/pygments/html.js
dojox-rails-0.11.0 vendor/assets/javascripts/highlight/languages/pygments/html.js