From bdafe0938d8070e8eaf1f37c34ddb38c5160561d Mon Sep 17 00:00:00 2001 From: Ilya Kreymer Date: Wed, 11 Jun 2014 12:44:49 -0700 Subject: [PATCH] remove accidental debug commits --- pywb/cdx/cdxdomainspecific.py | 5 ----- pywb/static/wombat.js | 6 +----- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/pywb/cdx/cdxdomainspecific.py b/pywb/cdx/cdxdomainspecific.py index da4725b7..fda9409b 100644 --- a/pywb/cdx/cdxdomainspecific.py +++ b/pywb/cdx/cdxdomainspecific.py @@ -100,11 +100,6 @@ class FuzzyQuery: if matched_rule.replace: repl = matched_rule.replace - if '/_/stream/squarestream?soc-app' in url and 'jserror' not in url: - print 'KEY ', urlkey - print 'RULE ', url, vars(matched_rule) - print 'FILTERS ', filter_ - inx = url.rfind(repl) if inx > 0: url = url[:inx + 1] diff --git a/pywb/static/wombat.js b/pywb/static/wombat.js index d6cf60b5..badf1f2b 100644 --- a/pywb/static/wombat.js +++ b/pywb/static/wombat.js @@ -111,11 +111,7 @@ WB_wombat_init = (function() { if (!url) { return url; } - - if (url.indexOf("hypothes.is") > 0) { - return url; - } - + var urltype_ = (typeof url); // If object, use toString