{:uriI"¼file:///Users/chrismo/modev/clwiki/app/assets/javascripts/cl_wiki/shortcuts.js?type=application/javascript&pipeline=self&id=a3bc5af845dd9b94ba87c78645a035a0e5524eb0cee6b65f57bdb9dcebb60eb4:ET:load_pathI"7/Users/chrismo/modev/clwiki/app/assets/javascripts;T: filenameI"L/Users/chrismo/modev/clwiki/app/assets/javascripts/cl_wiki/shortcuts.js;T: nameI"cl_wiki/shortcuts;T:logical_pathI"cl_wiki/shortcuts.self.js;T:content_typeI"application/javascript;T: sourceI"©$(document).keydown(function (e) { if (window.location.href.endsWith("/edit")) { } else if (window.location.href.endsWith("/find")) { } else if (window.location.href.endsWith("/login")) { // this is important otherwise typing `e` while logging in refreshes the // page - doh! Ëœ} else if (window.location.href.endsWith("/recent")) { } else { if (e.key === "e") { window.location.href = window.location.href + "/edit"; } else if (e.key === "f") { let url; let findPath; url = new URL(window.location.href).href; findPath = url.substring(0, url.lastIndexOf('/')) + '/find'; window.location.href = findPath; } } }); ;T: metadata{:dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"Zfile-digest:///Users/chrismo/modev/clwiki/app/assets/javascripts/cl_wiki/shortcuts.js;TTF: requiredo;;}F: stubbedo;;}F: linkso;;}F: to_loado;;}F: to_linko;;}F:map{ I" version;TiI" file;TI"cl_wiki/shortcuts.js;TI" mappings;TI"cAAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;TI" sources;T[I"shortcuts.source.js;TI" names;T[I"x_sprockets_linecount;Ti: charsetI" utf-8;F: digest"%õ$^8`8[Ë*}HøÇMÊÇA{m9žTûíϧ[: lengthi©:environment_versionI"1.0;T:dependencies_digest"%ŒMGj'žŠJþƒ…U®;UAÚÁ³IQH“–6ýp÷:idI"Ea3bc5af845dd9b94ba87c78645a035a0e5524eb0cee6b65f57bdb9dcebb60eb4;F