rangyinputs
rangyinputs copied to clipboard
Allow plain JS
Hi Tim.
I have made some changes to your code that allow RangyInputs to be used in scenarios where JQuery is not loaded. When JQuery is loaded, everything works as is. In the other case, all RangyInput methods get added to window.RangyInputs.
I have also added a working demo-plain-js.html which does exactly the same as the jquery version.