lib/assets/javascripts/googleplus.photoreader.js.coffee in googleplus-reader-0.1.0 vs lib/assets/javascripts/googleplus.photoreader.js.coffee in googleplus-reader-0.2.0
- old
+ new
@@ -28,28 +28,27 @@
if attachment.fullImage?
collection.push new Photo
activity_id: item.id,
date: date,
- url: attachment.fullImage.url,
+ url: attachment.image.url,
width: attachment.fullImage.width,
height: attachment.fullImage.height,
- preview_url: attachment.image.url,
else
collection.push new Photo
activity_id: item.id,
date: date,
- preview_url: attachment.image.url,
+ 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,
date: date,
- preview_url: thumbnail.image.url,
+ url: thumbnail.image.url,
collection