From c8b1d063663ab55d648356f11f68bb83d951166b Mon Sep 17 00:00:00 2001 From: Silver Lao Date: Wed, 17 Jun 2015 16:14:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E4=B8=8Ashortvideo=E7=9A=84=E5=A3=B0?= =?UTF-8?q?=E6=98=8E,=20=E4=B8=8D=E7=84=B6=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/wechat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wechat.js b/lib/wechat.js index 2f43747a..d05e1ef7 100644 --- a/lib/wechat.js +++ b/lib/wechat.js @@ -377,7 +377,7 @@ Handler.prototype.setHandler = function (type, fn) { return this; }; -['text', 'image', 'voice', 'video', 'location', 'link', 'event', 'hardware', 'device_text', 'device_event'].forEach(function (method) { +['text', 'image', 'voice', 'video', 'location', 'link', 'event','shortvideo', 'hardware', 'device_text', 'device_event'].forEach(function (method) { Handler.prototype[method] = function (fn) { return this.setHandler(method, fn); };