diff --git a/.gitignore b/.gitignore index e43b0f9..e0689b3 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .DS_Store +avian_credentials.js diff --git a/AvianSafari-update.plist b/AvianSafari-update.plist index d8d180b..2e71f3d 100644 --- a/AvianSafari-update.plist +++ b/AvianSafari-update.plist @@ -10,9 +10,9 @@ Developer Identifier QNW3Q9S88V CFBundleShortVersionString - 1.0.1 + 1.0.3 CFBundleVersion - 7 + 9 URL http://langui.sh/extensions/AvianSafari.safariextz diff --git a/Info.plist b/Info.plist index e505eb3..b03059e 100644 --- a/Info.plist +++ b/Info.plist @@ -11,9 +11,9 @@ CFBundleInfoDictionaryVersion 6.0 CFBundleShortVersionString - 1.0.1 + 1.0.3 CFBundleVersion - 7 + 9 Chrome Bars diff --git a/avianlib.js b/avianlib.js index 8093c09..996f669 100644 --- a/avianlib.js +++ b/avianlib.js @@ -268,6 +268,7 @@ Avian.prototype = { } var self = this; function homeTimelineSuccessCallback(parsedObj) { + parsedObj = parsedObj.filter(function(tweet) { return tweet !== null; }); //nuke any nulls that come back. this line was added in response to the null bug twitter had 8/24/10 //loop through the tweets, adding metadata for each one self.addTweetMetadata(parsedObj); //iterate over the metadata to see if all these new tweets have been read previously (perhaps as a mention) @@ -308,6 +309,7 @@ Avian.prototype = { } var self = this; function mentionsSuccessCallback(parsedObj) { + parsedObj = parsedObj.filter(function(tweet) { return tweet !== null; }); //nuke any nulls that come back. this line was added in response to the null bug twitter had 8/24/10 self.addTweetMetadata(parsedObj); //iterate over the metadata to see if all these new tweets have been read previously (perhaps in home timeline) var newUnreadMentions = 0; diff --git a/global.html b/global.html index c507e50..f2f0314 100644 --- a/global.html +++ b/global.html @@ -30,6 +30,7 @@ +