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

Add polyfill for navigator.share #71

Merged
merged 2 commits into from
Oct 19, 2017
Merged

Add polyfill for navigator.share #71

merged 2 commits into from
Oct 19, 2017

Conversation

shgysk8zer0
Copy link
Owner

Not a perfect solution, but it will work for any fairly new browser.
Adds sharing by creating a <dialog> with links and icons, with the
URLs to the links generated using new URL() from a link template

Pull-Request check-list

  • Ran npm run build:all to update generated content
  • Updated scripts & stylesheets to use minified/transpiled resources
  • Updated ServiceWorker caches, if needed
  • Updated version in manifest.json, package.json, & service-worker.js

Not a perfect solution, but it will work for any fairly new browser.
Adds sharing by creating a `<dialog>` with links and icons, with the
URLs to the links generated using `new URL()` from a link template
GitHub Pages forces download of `.atom`, so change to `.xml` instead
@shgysk8zer0 shgysk8zer0 merged commit cef9fb0 into master Oct 19, 2017
@shgysk8zer0 shgysk8zer0 deleted the chore/share-shim branch October 19, 2017 09:33
shgysk8zer0 added a commit that referenced this pull request Mar 10, 2018
Submodule js/std-js 70ac285..02c12ea:
  > Merge pull request #71 from shgysk8zer0/async-prompts
  > Merge pull request #70 from shgysk8zer0/async-prompts
  > Merge pull request #69 from shgysk8zer0/feature/61
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.

None yet

1 participant