From b3cca1f60ec17ea6fd65d94709f10949ef838a6a Mon Sep 17 00:00:00 2001 From: Matt Burton Date: Sat, 27 Dec 2008 06:25:16 +0000 Subject: [PATCH] Moved "Highwire 2.0" out of the label and into a comment --- translators/PNAS (HighWire 2.0).js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/translators/PNAS (HighWire 2.0).js b/translators/PNAS (HighWire 2.0).js index 9639379f4..94cfd9799 100644 --- a/translators/PNAS (HighWire 2.0).js +++ b/translators/PNAS (HighWire 2.0).js @@ -1,16 +1,18 @@ { "translatorID":"8c1f42d5-02fa-437b-b2b2-73afc768eb07", "translatorType":4, - "label":"PNAS (HighWire 2.0)", + "label":"PNAS", "creator":"Matt Burton", "target":"http://www\\.pnas\\.org/(content|search|cgi/collection/.+)", "minVersion":"1.0.0b4.r5", "maxVersion":"", "priority":100, "inRepository":true, - "lastUpdated":"2008-12-26 12:35:00" + "lastUpdated":"2008-12-27 01:25:00" } +// This translator is for HighWire 2.0 + function detectWeb(doc, url) { if (url.match("search") || url.match("content/by/section") || doc.title.match("Table of Contents") || doc.title.match("Early Edition") || url.match("cgi/collection/.+")) { return "multiple";