Sha256: 3f346c75cac33fdecde7144a671141840aefdb1e783ba9ae11b550ea6cac90a8

Contents?: true

Size: 355 Bytes

Versions: 23

Compression:

Stored size: 355 Bytes

Contents

CodeMirror.defineMode("diff",function(){var r={"+":"tag","-":"string","@":"meta"};return{token:function(e){var i=e.string.search(/[\t ]+?$/);if(!e.sol()||0===i)return e.skipToEnd(),("error "+(r[e.string.charAt(0)]||"")).replace(/ $/,"");var n=r[e.peek()]||e.skipToEnd();return-1===i?e.skipToEnd():e.pos=i,n}}}),CodeMirror.defineMIME("text/x-diff","diff");

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
rearview-1.2.3-jruby public/rearview/vendor/codemirror/mode/diff/diff.js
rearview-1.2.2.rc.2-jruby public/rearview/vendor/codemirror/mode/diff/diff.js
rearview-1.2.2.rc.1-jruby public/rearview/vendor/codemirror/mode/diff/diff.js
rearview-1.2.1-jruby public/rearview/vendor/codemirror/mode/diff/diff.js
rearview-1.2.0-jruby public/rearview/vendor/codemirror/mode/diff/diff.js
rearview-1.1.2-jruby public/rearview/vendor/codemirror/mode/diff/diff.js
rearview-1.1.1-jruby public/rearview/vendor/codemirror/mode/diff/diff.js
rearview-1.1.0-jruby public/rearview/vendor/codemirror/mode/diff/diff.js
rearview-1.0.3.rc.4-jruby public/rearview/vendor/codemirror/mode/diff/diff.js
rearview-1.0.3.rc.3-jruby public/rearview/vendor/codemirror/mode/diff/diff.js
rearview-1.0.3.rc.2-jruby public/rearview/vendor/codemirror/mode/diff/diff.js
rearview-1.0.3.rc.1-jruby public/rearview/vendor/codemirror/mode/diff/diff.js
rearview-1.0.2-jruby public/rearview/vendor/codemirror/mode/diff/diff.js
rearview-1.0.2.rc.4-jruby public/rearview/vendor/codemirror/mode/diff/diff.js
rearview-1.0.2.rc.3-jruby public/rearview/vendor/codemirror/mode/diff/diff.js
rearview-1.0.2.rc.2-jruby public/rearview/vendor/codemirror/mode/diff/diff.js
rearview-1.0.2.rc.1-jruby public/rearview/vendor/codemirror/mode/diff/diff.js
rearview-1.0.1-jruby public/rearview/vendor/codemirror/mode/diff/diff.js
rearview-1.0.0-jruby public/rearview/vendor/codemirror/mode/diff/diff.js
rearview-1.0.0.rc5-jruby public/rearview/vendor/codemirror/mode/diff/diff.js