first commit
This commit is contained in:
18
public/js/modules/easing.js
Normal file
18
public/js/modules/easing.js
Normal file
@@ -0,0 +1,18 @@
|
||||
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' });
|
||||
});
|
||||
}
|
||||
};
|
||||
}();
|
||||
Reference in New Issue
Block a user