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.2 to 0.1.3

8

dist/js/Animator.js

@@ -22,10 +22,8 @@ class Animator {

animate(element, animation, speedMode = Animator.NORMAL_SPEED) {
element = $(element);
return new Promise((resolve, reject) => {
let classes = 'animated ' + animation + ' ' + speedMode;
element.show().addClass(classes).one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function (e) {
// $(this).removeClass(classes);
resolve();
});
element.style.display = 'block';
element.classList.add(...classes.split(' '));
});

@@ -32,0 +30,0 @@ }

{
"name": "flk-animator",
"description": "Animate.css animation on elements",
"version": "0.1.2",
"dependencies": {
"flk-jquery": "0.1.1"
},
"version": "0.1.3",
"externals": {

@@ -9,0 +6,0 @@ "css": {

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