diff options
author | anekos | 2010-08-04 10:42:06 +0000 |
---|---|---|
committer | anekos | 2010-08-04 10:42:06 +0000 |
commit | f4512d89f7cc991e3147d9bd0b84086f463a59b1 (patch) | |
tree | 44ad799f98da7bcda8185047f6600000b19df518 | |
parent | 3e01d093e1c656a75cc9ca536b63b36ea20f5382 (diff) | |
download | vimperator-plugins-f4512d89f7cc991e3147d9bd0b84086f463a59b1.tar.bz2 |
テストコード削除
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@38163 d0d07461-0603-4401-acd4-de1884942a52
-rwxr-xr-x | twittperator.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/twittperator.js b/twittperator.js index 2474a02..74fd51d 100755 --- a/twittperator.js +++ b/twittperator.js @@ -1104,11 +1104,6 @@ let host = "chirpstream.twitter.com"; let path = "/2b/user.json"; - if (0) { - host = "api.twitter.com"; - host = "/1/statuses/mentions.json"; - } - let {username, password} = getUserInfo() || {}; if (!(username && password)) return liberator.echoerr('Not found basic authorization setting in Firefox'); @@ -1128,13 +1123,6 @@ sos.setOutputStream(os); let params = ["Authorization: Basic " + btoa(username + ":" + password)]; - if (0) { - let param = tw.getUrl("http://" + host + path); - let params = param.split(/\?/)[1].split(/&/).map(function (it) - let ([n, v] = it.split(/=/)) - n + ": " + decodeURIComponent(v) - ); - } let get = [ "GET " + path + " HTTP/1.1", |