three-pointer-controls
Advanced tools
Comparing version 0.5.1 to 0.5.2
@@ -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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37953
1038