Closed jeluard closed 10 years ago
Actually not a good idea as it forces usage of polymer even when it's not needed (e.g. target browsers support WebComponents).
A better idea would be to rely on a small script that would load polymer polyfill only when needed (there could be a special main js file embedding it to reduce roundtrips).
Check if it's feasible to embed polymer polyfill and apply it only when needed. This would remove an HTTP round-trip and the need for user to care about defining it and choosing the right version.