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

New widget #150

Merged
merged 3 commits into from
Dec 22, 2015
Merged

New widget #150

merged 3 commits into from
Dec 22, 2015

Conversation

janhohner
Copy link
Contributor

As discussed in #148 and Gitter I moved the code for the new widget to a seperate file. This provides solutions to #135 and #142 (I don't know if I should mark them as solved because these issues still exist in the original widget implementation).

This version of the widget currently only supports evergreen browsers and IE9+.

New widget with different display options (see docs/widger.js) and demos (in public/widgets/demos). Also provides solutions for mozillascience#142 (loading spinner) and mozillascience#135 (DOIs with extra slashes)
@janhohner janhohner mentioned this pull request Dec 19, 2015
@abbycabs
Copy link
Member

Thanks for the new PR! I'll take a closer look this afternoon :)

</body>
</html>
```
You can either use paper-badger-widget.js ([documentation](docs/paper-badger-widget.md)), which supports old browsers or widget.js ([documentation](docs/widget.md)), which is in development and currently only supports evergreen browsers and IE9+.
Copy link
Member

Choose a reason for hiding this comment

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

I like how you handled this! Thanks.

We may want to start a wiki and move those docs there, but in the meantime this is great.

@abbycabs
Copy link
Member

Looks great -- there's a couple comments I left in docs/widget.md that need to be looked at. Once that's clear, I think this is good to! 👍

@janhohner
Copy link
Contributor Author

Thanks for the review! I changed the docs in the necessary places.

@abbycabs
Copy link
Member

Looks good to me! Merging

@abbycabs abbycabs merged commit 98f024a into mozillascience:master Dec 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants