Sha256: 2143c5d63b898d29e11544258f89b8ddde245c272b92fecbc70e39eb533d5d51

Contents?: true

Size: 1.2 KB

Versions: 14

Compression:

Stored size: 1.2 KB

Contents

define("ace/ext/static_highlight",["require","exports","module","ace/edit_session","ace/layer/text"],function(e,t,n){var r=e("../edit_session").EditSession,i=e("../layer/text").Text,s=".ace_editor {font-family: 'Monaco', 'Menlo', 'Droid Sans Mono', 'Courier New', monospace;font-size: 12px;}.ace_editor .ace_gutter { width: 25px !important;display: block;float: left;text-align: right; padding: 0 3px 0 0; margin-right: 3px;}.ace_line { clear: both; }*.ace_gutter-cell {-moz-user-select: -moz-none;-khtml-user-select: none;-webkit-user-select: none;user-select: none;}";t.render=function(e,t,n,o,u){o=parseInt(o||1,10);var a=new r("");a.setMode(t),a.setUseWorker(!1);var f=new i(document.createElement("div"));f.setSession(a),f.config={characterWidth:10,lineHeight:20},a.setValue(e);var l=[],c=a.getLength();for(var h=0;h<c;h++)l.push("<div class='ace_line'>"),u||l.push("<span class='ace_gutter ace_gutter-cell' unselectable='on'>"+(h+o)+"</span>"),f.$renderLine(l,h,!0,!1),l.push("</div>");var p="<div class=':cssClass'>        <div class='ace_editor ace_scroller ace_text-layer'>            :code        </div>    </div>".replace(/:cssClass/,n.cssClass).replace(/:code/,l.join(""));return f.destroy(),{css:s+n.cssText,html:p}}})

Version data entries

14 entries across 14 versions & 5 rubygems

Version Path
putsreq-0.0.4 vendor/assets/javascripts/ace/ext-static_highlight.js
putsreq-0.0.3 vendor/assets/javascripts/ace/ext-static_highlight.js
putsreq-0.0.2 vendor/assets/javascripts/ace/ext-static_highlight.js
putsreq-0.0.1 vendor/assets/javascripts/ace/ext-static_highlight.js
el-ace-0.1.0 assets/ace/ext-static_highlight.js
foreman_discovery-1.0.0 test/foreman_app/vendor/assets/javascripts/ace/ext-static_highlight.js
foreman_discovery-1.0.0.rc4 test/foreman_app/vendor/assets/javascripts/ace/ext-static_highlight.js
foreman_discovery-1.0.0.rc3 test/foreman_app/vendor/assets/javascripts/ace/ext-static_highlight.js
foreman_discovery-1.0.0.rc2 test/foreman_app/vendor/assets/javascripts/ace/ext-static_highlight.js
foreman_discovery-1.0.0.rc1 test/foreman_app/vendor/assets/javascripts/ace/ext-static_highlight.js
aced_rails-0.2.1 vendor/assets/javascripts/ace/ext-static_highlight.js
aced_rails-0.2.0 vendor/assets/javascripts/ace/ext-static_highlight.js
kit_cms-2.3.9 app/assets/javascripts/kit/ace/ext-static_highlight.js
kit_cms-2.3.8 app/assets/javascripts/kit/ace/ext-static_highlight.js