From db84ced78fc929895cfb358daf799091ed959941 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Mon, 9 Jun 2014 02:03:36 -0400 Subject: [PATCH] removeRelativePath public --- public/src/ajaxify.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/src/ajaxify.js b/public/src/ajaxify.js index 7fafaa4457..6b63fa1966 100644 --- a/public/src/ajaxify.js +++ b/public/src/ajaxify.js @@ -122,12 +122,12 @@ var ajaxify = ajaxify || {}; return false; }; - function removeRelativePath(url) { + ajaxify.removeRelativePath = function(url) { if (url.indexOf(RELATIVE_PATH.slice(1)) === 0) { url = url.slice(RELATIVE_PATH.length); } return url; - } + }; ajaxify.refresh = function() { ajaxify.go(ajaxify.currentPage);