lib/assets/javascripts/googleplus.photoreader.js.coffee in googleplus-reader-0.0.7 vs lib/assets/javascripts/googleplus.photoreader.js.coffee in googleplus-reader-0.1.0

- old
+ new

@@ -27,28 +27,29 @@ continue unless attachment.image? if attachment.fullImage? collection.push new Photo activity_id: item.id, - url: attachment.image.url, + date: date, + url: attachment.fullImage.url, width: attachment.fullImage.width, - date: date + height: attachment.fullImage.height, + preview_url: attachment.image.url, + else collection.push new Photo activity_id: item.id, - url: attachment.image.url, - width: null, - date: date + date: date, + preview_url: attachment.image.url, else if attachment.objectType is 'album' continue unless attachment.thumbnails? for thumbnail in attachment.thumbnails continue unless thumbnail.image? collection.push new Photo activity_id: item.id, - url: thumbnail.image.url, - width: null, - date: date + date: date, + preview_url: thumbnail.image.url, collection