o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1384182734.8917708: @value"0{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/gems/locomotive_cms-2.3.1/vendor/assets/javascripts/locomotive/liquid_mode.js;FI"content_type;TI"application/javascript;TI" mtime;TI"2013-11-11T00:40:29+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/gems/locomotive_cms-2.3.1/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/gems/locomotive_cms-2.3.1/vendor/assets/javascripts/locomotive/liquid_mode.js;FI" mtime;TI"2013-11-11T00:40:29+01:00;TI" digest;TI"%9ee8b55d2e87150dae71ad3df51b50d7;FI" _version;TI"%ffd318ca8b794f42f5029101c2cf5d91;F