Skip to content

gdsmith/jquery.easing

Repository files navigation

jQuery Easing Plugin

What is it? A jQuery plugin from GSGD to give advanced easing options. More info here

For CDN please use CloudFlare https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.4.1/jquery.easing.min.js to help my host. Thank you.

AMD or CommonJS usage

// CommonJS
const jQuery = require('jquery');
require('jquery.easing')(jQuery);

// AMD
define(['jquery', 'jquery.easing'], function (jQuery, easing) {
	easing(jQuery);
});

Building and testing

  • Clone the repo
  • npm install
  • Make changes
  • Test against files in /examples
  • Build minified version with npm run build