o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1396088391.433415: @value"E{I" class:ETI"ProcessedAsset;FI"logical_path;TI"locomotive/liquid_mode.js;FI" pathname;TI"‘/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/engine-c0bddd719ddf/vendor/assets/javascripts/locomotive/liquid_mode.js;FI"content_type;TI"application/javascript;TI" mtime;TI"2014-03-29T11:18:01+01:00;TI" length;TiII" digest;TI"%f24223081cfc8c235b31ff58bc5a2257;FI" source;TI"I/* This overlay provides a 'liquid' mode to the excellent CodeMirror editor (http://codemirror.net/). Add something like this to your CSS: .cm-liquid-tag { color: #32273f; background: #ead9ff; } .cm-liquid-variable { color: #29739b background: #c2e0f0; } https://gist.github.com/1356686 */ CodeMirror.defineMode("liquid", function(config, parserConfig) { var liquidOverlay = { token: function(stream, state) { // Variables. if (stream.match("{{")) { while ((ch = stream.next()) != null) if (ch == "}" && stream.next() == "}") break; return "liquid-variable"; } // Tags. if(stream.match("{%")) { while ((ch = stream.next()) != null) if (ch == "%" && stream.next() == "}") break; return "liquid-tag"; } while (stream.next() != null && !stream.match("{{", false) && !stream.match("{%", false)) {} return null; } }; return CodeMirror.overlayMode(CodeMirror.getMode(config, parserConfig.backdrop || "text/html"), liquidOverlay); }); ;TI"dependency_digest;TI"%f0cabe7bff3509d94c385deed930ba72;FI"required_paths;T[I"‘/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/engine-c0bddd719ddf/vendor/assets/javascripts/locomotive/liquid_mode.js;FI"dependency_paths;T[{I" path;TI"‘/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/engine-c0bddd719ddf/vendor/assets/javascripts/locomotive/liquid_mode.js;FI" mtime;TI"2014-03-29T11:18:01+01:00;TI" digest;TI"%9ee8b55d2e87150dae71ad3df51b50d7;FI" _version;TI"%ffd318ca8b794f42f5029101c2cf5d91;F