diff --git a/assets/js/route.js b/assets/js/route.js index beadf04..d11a383 100644 --- a/assets/js/route.js +++ b/assets/js/route.js @@ -1,3 +1,13 @@ +function get_routes() { + return routes.split(','); +} + +function inArray(needle, haystack) { + var len = haystack.length; + for(var i=0; i