{:uriI"¼file:///Users/chrismo/modev/clwiki/app/assets/javascripts/cl_wiki/shortcuts.js?type=application/javascript&pipeline=self&id=f0b7356b2382d351c4b8b31b5536c3dc8061618877f33dcfb34e262c84820987: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"Ófunction navigateToFind() { let url = new URL(window.location.href).href; window.location.href = url.substring(0, url.lastIndexOf('/')) + '/find'; } $(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")) { if (e.key === "f") { navigateToFind(); } } else { if (e.key === "e") { window.location.href = window.location.href + "/edit"; } else if (e.key === "f") { navigateToFind(); } } }); ;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"wAAAA;AACA;AACA;AACA;AACA;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"%>¿ßl%þÊÃ.:Ñ ò©™¯[áWPÇÛ‡ïÖMD€: lengthiÓ:environment_versionI"1.0;T:dependencies_digest"%h<ÚvÝ;u»EN#F #·¥ES™jM†ÎôC ƒ‡¨‡:idI"Ef0b7356b2382d351c4b8b31b5536c3dc8061618877f33dcfb34e262c84820987;F