Questions tagged [polyfill]
4 questions
2
votes
2 answers
JavaScript: Bundle a required, but common, polyfill in my library?
First, here are a couple of related, but not-quite-the-same questions:
Should I include dependencies for which I have the source as projects in my solution?
https://softwareengineering.stackexchange.com/questions/35052
Now on to my particular…

GladstoneKeep
- 2,629
- 4
- 19
- 15
1
vote
2 answers
How to declare the need of polyfills publishing jquery plugin (and specially for webpack users)?
I've created jquery plugin that is using modern browser's (Node/Element) features.
I'm going to publish plugin as npm package. My wish is not to include polyfills code into jquery plugin, bud declare the dependencies on them.
Plugin created using…

Roman Pokrovskij
- 111
- 5
0
votes
2 answers
How to simulate method overloading in langs without such feature?
Langs like Java knows about true method overloading:
class Overload {
void demo (int a) {
System.out.println ("a: " + a);
}
void demo (int a, int b) {
System.out.println ("a and b: " + a + "," + b);
}
}
Whether langs like PHP —…

gaRex
- 308
- 1
- 10
0
votes
2 answers
Old Browsers and Polyfills
Polyfilling, when is it too much?
I've summed up this question into one sentance.
Is it practical to polyfill all of the IE8 deficiencies with one solid javascript file, as in, would there be any drawbacks (performance) or blockages (impossibility…

Mike
- 109
- 5