Hello, I am new to jquery in general, but I'm learning about plugin creation and I have a few points I am looking for clarification on.
Question #1:
Let's say I create a non-ui-specific plugin using the jqueryui widget factory. And then I think my new widget is awesome and I want to distribute it. Does this mean that anyone who wants to use my widget would also have to have jquery.ui.widget.js? Or is it typical to concatenate the widget factory into your widget javascript? Or is there other magic I am missing?
Question #2:
If I create a plugin that depends on HTML5 or CSS3 stuff (and want to upload it to the plugin repository), is it "best practice" to also include fallback code (i.e. a canvas polyfill) for older browsers in my own plugin, or can I just say "this won't work if your browser is old and busted"?
Thanks in advance for your input!