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

easey

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

easey - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

CHANGELOG

2

package.json
{
"name": "easey",
"version": "1.0.1",
"version": "1.0.2",
"description": "Easing for Modest Maps",

@@ -5,0 +5,0 @@ "author": {

@@ -1,2 +0,2 @@

(function(context, MM) {
;(function(context, MM) {

@@ -314,3 +314,2 @@ easey.TouchHandler = function() {

var timeSince = new Date().getTime() - prevTime;
var point = MM.getMousePoint(e, map);

@@ -317,0 +316,0 @@ function dispatchZoomed() {

@@ -1,3 +0,2 @@

(function(context, MM) {
;(function(context, MM) {
var easey = function() {

@@ -142,3 +141,3 @@ var easey = {},

easey.resetRun = function () {
start = (+ new Date());
start = (+ new Date());
return easey;

@@ -221,10 +220,10 @@ };

// Width
function w(s) {
var w = function(s) {
return w0 * cosh(r0) / cosh (rho * s + r0);
}
};
// Zoom
function u(s) {
var u = function(s) {
return (w0 / sqr(rho)) * cosh(r0) * tanh(rho * s + r0) - (w0 / sqr(rho)) * sinh(r0) + u0;
}
};

@@ -240,6 +239,6 @@ // Special case, when no panning necessary

return u0;
}
};
w = function(s) {
return w0 * Math.exp(k * rho * s);
}
};
}

@@ -255,6 +254,7 @@

return new MM.Coordinate(y, x, 0).zoomTo(z);
}
};
easey.easing('linear');
easey.run(S / V * 1000, callback);
}
};

@@ -265,2 +265,2 @@ return easey;

this.easey = easey;
})(this, com.modestmaps);
})(this, MM);
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