aboutsummaryrefslogtreecommitdiffstats
path: root/_libly.js
diff options
context:
space:
mode:
authorsuVene2008-12-28 21:09:43 +0000
committersuVene2008-12-28 21:09:43 +0000
commit6e4b0f41b4cb636164d040133f434db44e568a9e (patch)
tree81403f0ea2a309b2c77312fa50295a80e1bba19e /_libly.js
parent926c1e175ff6ca3fdbb86f531885d05dc0895d60 (diff)
downloadvimperator-plugins-6e4b0f41b4cb636164d040133f434db44e568a9e.tar.bz2
add notifier/subject_wassr.js
mod libly.js bugfix. etc. git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@27534 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to '_libly.js')
-rw-r--r--_libly.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/_libly.js b/_libly.js
index b77b9e5..259ec11 100644
--- a/_libly.js
+++ b/_libly.js
@@ -12,7 +12,7 @@ var PLUGIN_INFO =
<description lang="ja">適当なライブラリっぽいものたち。</description>
<author mail="suvene@zeromemory.info" homepage="http://zeromemory.sblo.jp/">suVene</author>
<license>MIT</license>
- <version>0.1.15</version>
+ <version>0.1.16</version>
<minVersion>1.2</minVersion>
<maxVersion>2.0pre</maxVersion>
<updateURL>http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/_libly.js</updateURL>
@@ -384,8 +384,9 @@ libly.Request.prototype = {
try {
libly.Request.requestCount++;
+ this.method = method;
this.transport = new XMLHttpRequest();
- this.transport.open(method, this.url, this.options.asynchronous);
+ this.transport.open(method, this.url, this.options.asynchronous, this.options.username, this.options.password);
this.transport.onreadystatechange = libly.$U.bind(this, this._onStateChange);
this.setRequestHeaders();
@@ -452,7 +453,6 @@ libly.Request.prototype = {
for (let name in headers)
this.transport.setRequestHeader(name, headers[name]);
-
},
get: function() {
this._request('GET');