Skip to content

Item 5185: Zip Files for mass spec data#4

Merged
labkey-ankurj merged 17 commits intodevelopfrom
19.2_fb_zipLoader
Apr 29, 2019
Merged

Item 5185: Zip Files for mass spec data#4
labkey-ankurj merged 17 commits intodevelopfrom
19.2_fb_zipLoader

Conversation

@labkey-ankurj
Copy link
Copy Markdown
Contributor

No description provided.

@cnathe cnathe self-requested a review April 3, 2019 16:32
Copy link
Copy Markdown
Contributor

@cnathe cnathe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments/questions send via patch file in email.

return;
}
//use colon(:) as file separator in case of firefox
if(window.navigator.userAgent.toLowerCase().indexOf("firefox") > -1) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@labkey-ankurj
The comment above this if statement doesn't match.
Also, couldn't you just set the isFirefox variable directly?
var isFirefox = window.navigator.userAgent.toLowerCase().indexOf("firefox") > -1;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, missed that comment. changed locally

var dirPatterns;
var dropZone;
var filePattern =new RegExp(".*\\.zipme$");
var firefox;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@labkey-ankurj
Inside of this ZipLoad.js, this variable is more about whether we expect all files to be read at once or if we need to batch them. So can we rename this variable accordingly (maybe something like: checkReadEntriesByBatch)?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed locally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants