# HG changeset patch # User Mads Kiilerich # Date 1438350247 -7200 # Node ID cd64e53de17b58a86bd92a8624ac6bb08da88912 # Parent b580691553f552c91b74f532d8009a06daebb884 js: drop unused pyroutes_map.js diff -r b580691553f5 -r cd64e53de17b kallithea/public/js/base.js --- a/kallithea/public/js/base.js Sun Jul 26 14:10:44 2015 +0200 +++ b/kallithea/public/js/base.js Fri Jul 31 15:44:07 2015 +0200 @@ -137,8 +137,7 @@ * Usage pyroutes.url('mark_error_fixed',{"error_id":error_id}) // /mark_error_fixed/ */ var pyroutes = (function() { - // access global map defined in special file pyroutes - var matchlist = PROUTES_MAP; + var matchlist = {}; var sprintf = (function() { function get_type(variable) { return Object.prototype.toString.call(variable).slice(8, -1).toLowerCase(); diff -r b580691553f5 -r cd64e53de17b kallithea/public/js/pyroutes_map.js --- a/kallithea/public/js/pyroutes_map.js Sun Jul 26 14:10:44 2015 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,11 +0,0 @@ -//Format is key == name -// "mark_error_fixed": [ # key -// "/mark_error_fixed/%(error_id)s", #url template -// [ -// "error_id" # list of args -// ] -// ], -// -var PROUTES_MAP = { - -} \ No newline at end of file diff -r b580691553f5 -r cd64e53de17b kallithea/templates/base/root.html --- a/kallithea/templates/base/root.html Sun Jul 26 14:10:44 2015 +0200 +++ b/kallithea/templates/base/root.html Fri Jul 31 15:44:07 2015 +0200 @@ -65,7 +65,6 @@ - ## EXTRA FOR JS <%block name="js_extra"/>