Comments (4)
We use unpkg for this on the demo site. Can you use something like that?
from clipboard-copy-element.
Oh, sure! That works for me. Perhaps be nice to document it in the README? What do you think?
from clipboard-copy-element.
I hesitate because we don't control that service, and we're going to have to update all the README's that reference it if it ever goes away. I'd much rather distribute the library on github and npm and leave how to include the library in their application up to the implementors.
from clipboard-copy-element.
I agree with @koddsson here. I would also add that there are many CDNs which are available to use, such as JSDelivr, Unpkg, CDNJS... promoting one over any others might be considered an endorsement of that CDN by our team or by GitHub writ large, it could also be seen as an endorsement of hot linking code to CDNs in general, which is a practice I personally wouldn't like to endorse.
I think I'll close this issue because the original question has been answered, and I don't think there is anything more actionable here. Thanks everyone!
from clipboard-copy-element.
Related Issues (11)
- on npm I can find a 0.5 version HOT 1
- live demo
- Should fire copy event even when `navigator.clipboard` is not implemented HOT 2
- `for` not copying on iOS HOT 1
- CustomEvent does not have what gets copied in `details` HOT 5
- extraneous </div> HOT 1
- Copy and paste is not getting rid of $ symbol that has been given in the snippet HOT 2
- Feat: Add Style to the Clipboard Copy Element Website HOT 2
- Feature Request - Not Copying the "$" or "#" in the beginning
- Add support for Shadow DOM HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clipboard-copy-element.