Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix researchgate #1918

Merged
merged 2 commits into from Apr 5, 2019

Conversation

Projects
None yet
3 participants
@GuyAglionby
Copy link
Contributor

GuyAglionby commented Mar 30, 2019

(Supersedes #1828 -- they made further changes to the site) Update to new URL for RIS + fix detection code for searching.

Possible URL patterns for searching:

Thanks!

var elem = index ? docOrElem.querySelectorAll(selector).item(index) : docOrElem.querySelector(selector); return elem ? elem.getAttribute(attr) : null;
} function text(docOrElem, selector, index) {
var elem = index ? docOrElem.querySelectorAll(selector).item(index) : docOrElem.querySelector(selector); return elem ? elem.textContent : null;
}

This comment has been minimized.

@dstillman

dstillman Mar 30, 2019

Member

Undo. (We'll be getting rid of these lines soon, but for now the linter changes this incorrectly.)

This comment has been minimized.

@dstillman

dstillman Mar 30, 2019

Member

Thanks — can you squash that into the previous commit just to avoid the extra churn?

This comment has been minimized.

@GuyAglionby

GuyAglionby Mar 30, 2019

Author Contributor

Done! thanks

@GuyAglionby GuyAglionby force-pushed the GuyAglionby:fix-researchgate branch from 383fcd3 to 825d9ce Mar 30, 2019

@adam3smith adam3smith merged commit f74e3fd into zotero:master Apr 5, 2019

1 check failed

continuous-integration/travis-ci/pr The Travis CI build failed
Details
@adam3smith

This comment has been minimized.

Copy link
Collaborator

adam3smith commented Apr 5, 2019

Thanks! For future reference, merging in spite of tests failures as these are only due to minified attr/text code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.