From b6ee3e5cb9a34a99e387b0c47f8a76320c38b292 Mon Sep 17 00:00:00 2001 From: anekos Date: Tue, 13 Sep 2011 01:09:34 +0900 Subject: libly.Request.addEventListener のイベント名引数の変更に対応 --- nextlink.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nextlink.js') diff --git a/nextlink.js b/nextlink.js index 9149966..e96ea1c 100644 --- a/nextlink.js +++ b/nextlink.js @@ -264,9 +264,9 @@ Autopager.prototype = { return true; } - req.addEventListener("onSuccess", $U.bind(this, this.onSuccess)); - req.addEventListener("onFailure", $U.bind(this, this.onFailure)); - req.addEventListener("onException", $U.bind(this, this.onFailure)); + req.addEventListener("success", $U.bind(this, this.onSuccess)); + req.addEventListener("failure", $U.bind(this, this.onFailure)); + req.addEventListener("exception", $U.bind(this, this.onFailure)); req.get(); }, onSuccess: function(res) { -- cgit v1.2.3