zotero/translators — pull request #55 by rmzelle (2011-12-01 03:49:50+00:00)
Title: Remove E4X from Flickr.js. Still has a problem with saving photos.

First commit for rewriting flickr.js (more to follow).

I did get stuck with saving attachments, though:

``var last = ZU.xpath(doc, '//size').length - 1;
var attachmentUri = ZU.xpathText(doc, '//size[last]/@source');``
doesn't work, while

``var attachmentUri = ZU.xpathText(doc, '//size[5]/@source');``
does work. I don't get an error for the first case.