Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
calidion committed Apr 18, 2016
1 parent 9ae49aa commit f67e456
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions lib/incoming.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ makeEventCall(eventEmitter, eventOns, eventTypes);

module.exports = {
on: ons,
onXML: function(xml, res, cb) {
onXML: function(xml) {
var self = this;
x2j.parseString(xml, {
explicitArray: false,
Expand All @@ -49,7 +49,6 @@ module.exports = {
}
self.parse.apply(self, args);
});

},
parse: function() {
switch (arguments[0].MsgType) {
Expand Down
2 changes: 0 additions & 2 deletions test/incoming.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,6 @@ describe('node-weixin-message', function() {

function http(req, res) {
var messages = nodeWeixinMessage.messages;

function A(message, res, cb, more) {
assert.equal(res, r2);
assert.equal(more, 'and more');
Expand All @@ -356,5 +355,4 @@ describe('node-weixin-message', function() {
}
http(r1, r2);
});

});

0 comments on commit f67e456

Please sign in to comment.