From b6b75faa9ef841396731398a2882e869df5b8ae7 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Thu, 1 Sep 2011 00:00:58 +0200 Subject: Removing GetURL and some overcomplicated parts. --- lib/libbugzilla.js | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'lib/libbugzilla.js') diff --git a/lib/libbugzilla.js b/lib/libbugzilla.js index c6f1adb..46356cc 100644 --- a/lib/libbugzilla.js +++ b/lib/libbugzilla.js @@ -238,17 +238,6 @@ exports.setClipboard = function setClipboard(stuff) { clipboard.set(stuff, "text"); }; -exports.getURL = function getURL(url, callback) { - Request({ - url: url, - onComplete: function(response) { - if (response.status == 200) { - callback(response.text); - } - } - }).get(); -}; - exports.openStringInNewPanel = function openStringInNewPanel(inHTMLStr) { openURLInNewPanel("data:text/html;charset=utf-8," + inHTMLStr); -- cgit