Sha256: 1fc7271705cd07ffaefafdc96ad5a45bf5f54f2de8a95f7f1cc6c8a8cff16c5f

Contents?: true

Size: 1.23 KB

Versions: 25

Compression:

Stored size: 1.23 KB

Contents

var HTMLMixedParser=Editor.Parser=function(){function p(){var a=["XMLParser"],g;for(g in j)a.push(j[g]);for(var k in a)if(!window[a[k]])throw Error(a[k]+" parser must be loaded for HTML mixed mode to work.");XMLParser.configure({useHTMLKludges:true})}var j={script:"JSParser",style:"CSSParser"};return{make:function(a){function g(){var d=l.next();if(d.content=="<")e=true;else if(d.style=="xml-tagname"&&e===true)e=d.content.toLowerCase();else if(d.content==">"){if(j[e])h.next=k(window[j[e]],"</"+e);
e=false}return d}function k(d,f){var m=l.indentation();i=d.make(a,m+indentUnit);return function(){if(a.lookAhead(f,false,false,true)){i=null;h.next=g;return g()}var b=i.next(),c=b.value.lastIndexOf("<"),n=Math.min(b.value.length-c,f.length);if(c!=-1&&b.value.slice(c,c+n).toLowerCase()==f.slice(0,n)&&a.lookAhead(f.slice(n),false,false,true)){a.push(b.value.slice(c));b.value=b.value.slice(0,c)}if(b.indentation){var q=b.indentation;b.indentation=function(o){return o=="</"?m:q(o)}}return b}}p();var l=
XMLParser.make(a),i=null,e=false,h={next:g,copy:function(){var d=l.copy(),f=i&&i.copy(),m=h.next,b=e;return function(c){a=c;l=d(c);i=f&&f(c);h.next=m;e=b;return h}}};return h},electricChars:"{}/:",configure:function(a){if(a.triggers)j=a.triggers}}}();

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
comfortable_mexican_sofa-1.2.5 public/javascripts/comfortable_mexican_sofa/codemirror/parse_html_mixed.js
comfortable_mexican_sofa-1.2.4 public/javascripts/comfortable_mexican_sofa/codemirror/parse_html_mixed.js
comfortable_mexican_sofa-1.2.3 public/javascripts/comfortable_mexican_sofa/codemirror/parse_html_mixed.js
comfortable_mexican_sofa-1.2.2 public/javascripts/comfortable_mexican_sofa/codemirror/parse_html_mixed.js
comfortable_mexican_sofa-1.2.1 public/javascripts/comfortable_mexican_sofa/codemirror/parse_html_mixed.js
comfortable_mexican_sofa-1.2.0 public/javascripts/comfortable_mexican_sofa/codemirror/parse_html_mixed.js
comfortable_mexican_sofa-1.1.2 public/javascripts/comfortable_mexican_sofa/codemirror/parse_html_mixed.js
comfortable_mexican_sofa-1.1.1 public/javascripts/comfortable_mexican_sofa/codemirror/parse_html_mixed.js
comfortable_mexican_sofa-1.0.51 public/javascripts/comfortable_mexican_sofa/codemirror/parse_html_mixed.js
comfortable_mexican_sofa-1.0.50 public/javascripts/comfortable_mexican_sofa/codemirror/parse_html_mixed.js
comfortable_mexican_sofa-1.0.49 public/javascripts/comfortable_mexican_sofa/codemirror/parse_html_mixed.js
comfortable_mexican_sofa-1.0.48 public/javascripts/comfortable_mexican_sofa/codemirror/parse_html_mixed.js
lucy_cms-0.0.6 public/javascripts/LucyCMS/codemirror/parse_html_mixed.js
lucy_cms-0.0.5 public/javascripts/LucyCMS/codemirror/parse_html_mixed.js
lucy_cms-0.0.4 public/javascripts/LucyCMS/codemirror/parse_html_mixed.js
lucy_cms-0.0.3 public/javascripts/LucyCMS/codemirror/parse_html_mixed.js
lucy_cms-0.0.2 public/javascripts/LucyCMS/codemirror/parse_html_mixed.js
lucy_cms-0.0.1 public/javascripts/LucyCMS/codemirror/parse_html_mixed.js
comfortable_mexican_sofa-1.0.47 public/javascripts/comfortable_mexican_sofa/codemirror/parse_html_mixed.js
comfortable_mexican_sofa-1.0.46 public/javascripts/comfortable_mexican_sofa/codemirror/parse_html_mixed.js