From f172bc7882692ac45f3445c2db66016668b30725 Mon Sep 17 00:00:00 2001 From: Lorenz Schori Date: Mon, 21 Jan 2013 06:40:04 +0100 Subject: [PATCH 1/6] Remove Authcache.getValue JavaScript function --- authcache.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/authcache.js b/authcache.js index 0eecdad..bc92e42 100644 --- a/authcache.js +++ b/authcache.js @@ -208,16 +208,6 @@ Authcache.ajaxError = function(XMLHttpRequest, textStatus, errorThrown) { } } -/** - * Return value embedded in class string. - * DEPRECATED... use el.getAttribute("data-name") instead - */ -Authcache.getValue = function(needle, str) { - matches = str.match(eval("/" + needle + "(.[^\\s]*)/")); - return (matches == null) ? false : matches[1]; -} - - // Check if page is really cached jQuery(function() { -- 1.7.10.4