Socket
Socket
Sign inDemoInstall

three-pointer-controls

Package Overview
Dependencies
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

three-pointer-controls - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

7

lib/animation/Animation.js

@@ -57,3 +57,6 @@ // Generated by CoffeeScript 1.9.2

Animation.prototype.stop = function() {
this.steps[this.step].reset();
var ref;
if ((ref = this.steps[this.step]) != null) {
ref.reset();
}
this.step = 0;

@@ -94,3 +97,3 @@ return this.status = ANIMATION.STOP;

if (this.steps[this.step] == null) {
if (this.controls.config.animation.loop) {
if (this.controls.config.animation.loop && this.step > 0) {
this.step = 0;

@@ -97,0 +100,0 @@ } else {

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "0.5.1",
"version": "0.5.2",
"main": "./lib/controls.js",

@@ -8,0 +8,0 @@ "scripts": {

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

// Generated by CoffeeScript 1.9.2
// Generated by CoffeeScript 1.9.3
(function() {

@@ -84,1 +84,3 @@ var PointerControls, THREE, addAxis, addCube, buildCanvasApp, camera, controls, render, renderer, resize, scene, start;

}).call(this);
//# sourceMappingURL=test.js.map
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