Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

flk-animator

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flk-animator - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

dist/compiler/attributes/animate-dynamic.js

13

dist/js/Animator.js

@@ -24,15 +24,6 @@ class Animator {

return new Promise((resolve, reject) => {
let jqueryAnimations = ['fadeIn', 'fadeOut', 'slideDown', 'slideDown', 'hide', 'show'];
if (jqueryAnimations.includes(animation)) {
element[animation](function () {
resolve();
});
return;
}
let classes = 'animated ' + animation + ' ' + speedMode;
element.stop().show().removeClass(classes).addClass(classes).one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function (e) {
$(this).removeClass(classes);
element.show().addClass(classes).one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function (e) {
// $(this).removeClass(classes);
resolve();

@@ -39,0 +30,0 @@ });

{
"name": "flk-animator",
"description": "Animate.css animation on elements",
"version": "0.1.1",
"version": "0.1.2",
"dependencies": {
"flk-jquery": "0.1.1"
},
"externals": {
"css": {
"common": [
"https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css"
]
}
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc