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

cloak.animate

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cloak.animate - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

package.json
{
"name": "cloak.animate",
"version": "0.0.2",
"version": "0.0.3",
"description": "The Cloak.js module for animating views and controllers (using Velocity)",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -40,2 +40,3 @@

* [cloak.forms](https://github.com/UmbraEngineering/cloak.forms) - Provides an extension to `cloak.view` for easier handling of forms
* [cloak.nedb](https://github.com/UmbraEngineering/cloak.nedb) - Provides a NeDB (Node Embedded Database) interface for model storage. A faster, more complete local data implementation than `cloak.localstorage` meant for use in local applications (like node-webkit projects)

@@ -42,0 +43,0 @@

@@ -6,4 +6,3 @@

var view = exports.ViewAnimation = { };
var controller = exports.ControllerAnimation = { };
var Mixin = exports.Animation = { };

@@ -47,3 +46,3 @@ //

//
view.animate = function(animation, options) {
Mixin.animate = function(animation, options) {
return exports.animate(this.elem, animation, options);

@@ -55,21 +54,5 @@ };

//
view.animate.wait = exports.animate.wait;
Mixin.animate.wait = exports.animate.wait;
//
// Controller specific animate function
//
// @param {animation} the properties to animate
// @param {options} additional options
// @return Promise
//
controller.animate = function(animation, options) {
return exports.animate(this.scope, animation, options);
};
//
// Re-expose
//
controller.animate.wait = exports.animate.wait;
//
// Add the animation shortcut methods (eg. fadeOut) to view and controller

@@ -76,0 +59,0 @@ //

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