o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1381401964.826735: @value"Ú{I" class:EFI"ProcessedAsset;FI"logical_path;FI"locomotive/liquid_mode.js;TI" pathname;FI"z/Users/papipo/.rvm/gems/ruby-1.9.3-p448/gems/locomotive_cms-2.2.3/vendor/assets/javascripts/locomotive/liquid_mode.js;TI"content_type;FI"application/javascript;FI" mtime;FI"2013-10-10T12:39:18+02:00;FI" length;FiII" digest;F"%f24223081cfc8c235b31ff58bc5a2257I" source;FI"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); }); ;FI"dependency_digest;F"%f0cabe7bff3509d94c385deed930ba72I"required_paths;F[I"z/Users/papipo/.rvm/gems/ruby-1.9.3-p448/gems/locomotive_cms-2.2.3/vendor/assets/javascripts/locomotive/liquid_mode.js;TI"dependency_paths;F[{I" path;FI"z/Users/papipo/.rvm/gems/ruby-1.9.3-p448/gems/locomotive_cms-2.2.3/vendor/assets/javascripts/locomotive/liquid_mode.js;TI" mtime;FI"2013-10-10T12:39:18+02:00;FI" digest;F"%9ee8b55d2e87150dae71ad3df51b50d7I" _version;F"%ffd318ca8b794f42f5029101c2cf5d91