Permalink
Browse files

The jsOAuth error callback is called `failure` not `error` [ht: Jcrs]

  • Loading branch information...
1 parent f288fad commit 5b235bd9dde07a5e4e58601b18f3325733eb53c5 @ebryn committed Dec 12, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Resources/twitter.js
View
@@ -224,7 +224,7 @@ exports.Twitter = (function(global) {
result: data
});
},
- error: function(data) {
+ failure: function(data) {
callback.call(self, {
success: false,
error: "Request failed",

0 comments on commit 5b235bd

Please sign in to comment.