Rawr il y a 5 ans
Parent
commit
930409ca47
2 fichiers modifiés avec 7 ajouts et 7 suppressions
  1. 3 3
      src/animation/PropertyBinding.js
  2. 4 4
      src/extras/Earcut.js

+ 3 - 3
src/animation/PropertyBinding.js

@@ -448,9 +448,9 @@ Object.assign( PropertyBinding.prototype, { // prototype, continued
 		let targetObject = this.node;
 		let targetObject = this.node;
 		const parsedPath = this.parsedPath;
 		const parsedPath = this.parsedPath;
 
 
-		const	objectName = parsedPath.objectName;
-		const	propertyName = parsedPath.propertyName;
-		let	propertyIndex = parsedPath.propertyIndex;
+		const objectName = parsedPath.objectName;
+		const propertyName = parsedPath.propertyName;
+		let propertyIndex = parsedPath.propertyIndex;
 
 
 		if ( ! targetObject ) {
 		if ( ! targetObject ) {
 
 

+ 4 - 4
src/extras/Earcut.js

@@ -329,7 +329,7 @@ function splitEarcut( start, triangles, dim, minX, minY, invSize ) {
 function eliminateHoles( data, holeIndices, outerNode, dim ) {
 function eliminateHoles( data, holeIndices, outerNode, dim ) {
 
 
 	const queue = [];
 	const queue = [];
-	let	i, len, start, end, list;
+	let i, len, start, end, list;
 
 
 	for ( i = 0, len = holeIndices.length; i < len; i ++ ) {
 	for ( i = 0, len = holeIndices.length; i < len; i ++ ) {
 
 
@@ -381,9 +381,9 @@ function eliminateHole( hole, outerNode ) {
 function findHoleBridge( hole, outerNode ) {
 function findHoleBridge( hole, outerNode ) {
 
 
 	let p = outerNode;
 	let p = outerNode;
-	const	hx = hole.x;
-	const	hy = hole.y;
-	let	qx = - Infinity, m;
+	const hx = hole.x;
+	const hy = hole.y;
+	let qx = - Infinity, m;
 
 
 	// find a segment intersected by a ray from the hole's leftmost point to the left;
 	// find a segment intersected by a ray from the hole's leftmost point to the left;
 	// segment's endpoint with lesser x will be potential connection point
 	// segment's endpoint with lesser x will be potential connection point