o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1397508824.052186: @value"Œ {I" class:ETI"ProcessedAsset;FI"logical_path;TI"&codemirror/addons/mode/overlay.js;FI" pathname;TI"“/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/codemirror-rails-3.23/vendor/assets/javascripts/codemirror/addons/mode/overlay.js;FI"content_type;TI"application/javascript;TI" mtime;TI"2014-04-14T22:44:00+02:00;TI" length;Ti‚I" digest;TI"%4f897295bf8f65bcb5fe9b4c05833bd5;FI" source;TI"‚// Utility function that allows modes to be combined. The mode given // as the base argument takes care of most of the normal mode // functionality, but a second (typically simple) mode is used, which // can override the style of text. Both modes get to parse all of the // text, but when both assign a non-null style to a piece of code, the // overlay wins, unless the combine argument was true, in which case // the styles are combined. // overlayParser is the old, deprecated name CodeMirror.overlayMode = CodeMirror.overlayParser = function(base, overlay, combine) { return { startState: function() { return { base: CodeMirror.startState(base), overlay: CodeMirror.startState(overlay), basePos: 0, baseCur: null, overlayPos: 0, overlayCur: null }; }, copyState: function(state) { return { base: CodeMirror.copyState(base, state.base), overlay: CodeMirror.copyState(overlay, state.overlay), basePos: state.basePos, baseCur: null, overlayPos: state.overlayPos, overlayCur: null }; }, token: function(stream, state) { if (stream.start == state.basePos) { state.baseCur = base.token(stream, state.base); state.basePos = stream.pos; } if (stream.start == state.overlayPos) { stream.pos = stream.start; state.overlayCur = overlay.token(stream, state.overlay); state.overlayPos = stream.pos; } stream.pos = Math.min(state.basePos, state.overlayPos); if (stream.eol()) state.basePos = state.overlayPos = 0; if (state.overlayCur == null) return state.baseCur; if (state.baseCur != null && combine) return state.baseCur + " " + state.overlayCur; else return state.overlayCur; }, indent: base.indent && function(state, textAfter) { return base.indent(state.base, textAfter); }, electricChars: base.electricChars, innerMode: function(state) { return {state: state.base, mode: base}; }, blankLine: function(state) { if (base.blankLine) base.blankLine(state.base); if (overlay.blankLine) overlay.blankLine(state.overlay); } }; }; ;TI"dependency_digest;TI"%c07f273b3a11e1e2b344fb0aa96776f9;FI"required_paths;T[I"“/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/codemirror-rails-3.23/vendor/assets/javascripts/codemirror/addons/mode/overlay.js;FI"dependency_paths;T[{I" path;TI"“/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/codemirror-rails-3.23/vendor/assets/javascripts/codemirror/addons/mode/overlay.js;FI" mtime;TI"2014-04-14T22:44:00+02:00;TI" digest;TI"%4f897295bf8f65bcb5fe9b4c05833bd5;FI" _version;TI"%ffd318ca8b794f42f5029101c2cf5d91;F