This is my exercise at removing jQuery as a dependency. I plan to do it on Foundation for Sites as well, but have never tried something like this before, so I decided to try on MotionUI first, with less codebase.
This PR adds a standalone version motion-ui-standalone.js which does not require jQuery to work. You can drop it in your page via script tag instead of official motion-ui.js and delete jQuery. A copy of a test page has also been added to the repo that shows this.
This is my exercise at removing jQuery as a dependency. I plan to do it on Foundation for Sites as well, but have never tried something like this before, so I decided to try on MotionUI first, with less codebase.
This PR adds a standalone version
motion-ui-standalone.js
which does not require jQuery to work. You can drop it in your page viascript
tag instead of officialmotion-ui.js
and delete jQuery. A copy of a test page has also been added to the repo that shows this.