Explorar o código

address @mrdoob comment: https://github.com/mrdoob/three.js/pull/6934#discussion_r36211920

Ben Houston %!s(int64=10) %!d(string=hai) anos
pai
achega
4b884a37b9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/animation/KeyframeTrack.js

+ 1 - 1
src/animation/KeyframeTrack.js

@@ -107,7 +107,7 @@ THREE.KeyframeTrack.prototype = {
 	// sort in ascending order
 	sort: function() {
 
-		var keyComparator = function keyComparator(key0, key1) {
+		function keyComparator(key0, key1) {
 			return key0.time - key1.time;
 		};