KeymailSpecials2/wwwroot/js/modules/easing.js

19 lines
496 B
JavaScript
Raw Normal View History

2024-02-19 12:54:56 +00:00
CNVS.Easing = function() {
var __core = SEMICOLON.Core;
return {
init: function(selector) {
__core.loadJS({ file: 'plugins.easing.js', id: 'canvas-easing-js', jsFolder: true });
__core.isFuncTrue( function() {
return typeof jQuery !== 'undefined' && typeof jQuery.easing["easeOutQuad"] !== 'undefined';
}).then( function(cond) {
if( !cond ) {
return false;
}
__core.initFunction({ class: 'has-plugin-easing', event: 'pluginEasingReady' });
});
}
};
}();