Comments (5)
@nadiam84 I certainly wouldn't mind that. Never done it before though. Thanks for the tip on unpkg.com, saved me some time. ;) I'm gonna play for a bit for the moment, but I have a day off after tomorrow. I'll see what I can do. If I get stuck I'll come back here.
from web-components.
Why you can't use unpkg?
https://unpkg.com/skatejs@latest/dist/
- seems like exactly what you're looking for. index-with-deps.min.js
- bundle with all the dependencies, index.min.js
- just skate.js
from web-components.
@nadiam84 The KA sandbox blocks scripts from any source except google host, cdnjs and jsdeliver. I can certainly fork, pull into a c9 project, build and push back to my fork, then use rawgit as I mentioned above, but I was asking for the general use case, i.e. visit one of the above cdns, search for the script and paste the link into ones project. :-)
from web-components.
@EricBalingit Ahh, got it! I'll look into it a bit later. Or maybe you can add it yourself? ;) Anyone can do that as far as I can see. Contributions are always welcome ;)
from web-components.
The link @nadiam84 posted was to Skate. That one is how you correctly use it via Unpkg, however, this package exports all the polyfills in the main index so you can just do https://unpkg.com/skatejs-web-components.
I'm going to close this for now. I'd prefer to not have to maintain any extra CDN stuff since there's already Rawgit and Unpkg. If this becomes a blocker, maybe we can find an alternate resolution. Thanks!
from web-components.
Related Issues (20)
- Implement fix for safari 10 style recalc bug HOT 4
- Something wrong with minification in firefox? HOT 2
- Errors in FF and Safari using UglifyJS HOT 7
- Pull in the browser version of document-register-element
- Spike using all the new webcomponents/* polyfills HOT 1
- jspm install fails HOT 4
- Where is the native-shim.js file in this repo? HOT 2
- Skate + ShadyCSS <custom-style>issue - native ShadowDom Browsers HOT 8
- ShadyCSS doesn't work in IE11 HOT 5
- npm install skatejs-web-components is broken HOT 8
- missing/broken scope on shadydom callbacks HOT 10
- build issue with sed command HOT 3
- update native-shim? HOT 3
- current published version relies on non-existent `cloudydom/src/env` path in newer versions of cloudydom HOT 2
- Safari UA sniffing breaks in mobile chrome HOT 1
- native-shim has to be ES6 HOT 5
- How performant are these polyfills (esp. in IE11)? HOT 11
- leverage @webcomponents polyfills and lazy-loading HOT 10
- Issue with polyfills HOT 4
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 web-components.