still maintain instance at the top of the file, because it's safe and won't hurt

This commit is contained in:
Simon Kornblith 2011-03-16 23:03:16 +00:00
parent 621e43a39c
commit c72da6b568

View file

@ -139,6 +139,8 @@ Zotero.Translate.IO.maintainedInstances = [];
/******* (Native) Read support *******/
Zotero.Translate.IO.Read = function(file, mode) {
Zotero.Translate.IO.maintainedInstances.push(this);
this.file = file;
// open file