-
Notifications
You must be signed in to change notification settings - Fork 84
FileAttachments: Stdlib Implementation #128
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
Conversation
7c983f3
to
d0c10dc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good, but I think we should wait until we’re ready to ship before merging it to master and publishing to npm. In the meantime, let’s keep this working branch open.
integrity sha512-zfat3WTZRZmh7jCrTIhg4zZvivA0DZvez8lZq0JwYG9aW8LcSUFO4eiPnL5F2MolHcLE8CLfEt06sPP8N7y3AQ== | ||
d3-require@^1.2.4: | ||
version "1.2.4" | ||
resolved "https://registry.npmjs.org/d3-require/-/d3-require-1.2.4.tgz#59afc591d5089f99fecd8c45ef7539e1fee112b3" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yarnpkg.com?
Concatenating `#` + id to `window.location` results in UID hrefs with _two_ fragment identifiers. This commit removes the existing fragment identifier before concatenating.
We should add a section to the README before this lands. |
... for use in UI, API (for downloads), and embeds.
Update
resolve()
function to this implementation that is capable of asking the parent frame (which may ask the server) for the URL for a given file.