aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libbugzilla.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-09-01 00:00:58 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-09-01 09:17:18 +0200
commitb6b75faa9ef841396731398a2882e869df5b8ae7 (patch)
treef7ece86109980c8104aa2f8ccffb8503bcb6384f /lib/libbugzilla.js
parent2ed5e245736860323819a93336b28d3b39176f17 (diff)
downloadbugzilla-triage-b6b75faa9ef841396731398a2882e869df5b8ae7.tar.gz
Removing GetURL and some overcomplicated parts.
Diffstat (limited to 'lib/libbugzilla.js')
-rw-r--r--lib/libbugzilla.js11
1 files changed, 0 insertions, 11 deletions
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);