Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upUpdate Rock, Paper, Shotgun.js #1697
Conversation
owcz
added some commits
Jul 14, 2018
This comment has been minimized.
This comment has been minimized.
and then they redesign the website four days later... |
adam3smith
reviewed
Aug 11, 2018
I just have one quick question here. Address or ignore depending on the answer & this should be ready |
try { JSON.parse(text) } catch (e) { isValidJSON = false } | ||
if (isValidJSON) { | ||
var json = JSON.parse(text); | ||
if (json.author_name) { |
This comment has been minimized.
This comment has been minimized.
adam3smith
Aug 11, 2018
Collaborator
are the author names from EM so bad that they should be removed even if this fails? Otherwise, move line 67 here, so they stay as a fallback in case getting them from JSON fails.
This comment has been minimized.
This comment has been minimized.
owcz
Aug 18, 2018
•
Author
Contributor
yep, pretty bad:
"creators": [
{
"firstName": "Von RPS"
"lastName": "UK"
"creatorType": "author"
}
{
"lastName": "27.04.2018"
"creatorType": "author"
"fieldMode": 1
}
{
"firstName": "11:56"
"lastName": "Uhr"
"creatorType": "author"
}
]
This comment has been minimized.
This comment has been minimized.
adam3smith
added
the
waiting
label
Aug 11, 2018
adam3smith
removed
the
waiting
label
Aug 20, 2018
adam3smith
merged commit 2fa6a0f
into
zotero:master
Aug 20, 2018
1 check passed
continuous-integration/travis-ci/pr
The Travis CI build passed
Details
This comment has been minimized.
This comment has been minimized.
Thanks! |
owcz
deleted the
owcz:rock
branch
Aug 31, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
owcz commentedJul 15, 2018