Переглянути джерело

Removed trailing comma (breaking strict es6 build)

Here's a tiny fix that removes a trailing comma in the `transformDirection` method. While it generally isn't an issue, it would break builds where we use terser (https://github.com/terser/terser) in strict 'es6' mode. Unlikely to cause any side-effects.
Theun de Bruijn 5 роки тому
батько
коміт
4165bea60e
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      src/core/BufferAttribute.js

+ 1 - 1
src/core/BufferAttribute.js

@@ -207,7 +207,7 @@ Object.assign( BufferAttribute.prototype, {
 				_vector2.fromBufferAttribute( this, i );
 				_vector2.applyMatrix3( m );
 
-				this.setXY( i, _vector2.x, _vector2.y, );
+				this.setXY( i, _vector2.x, _vector2.y );
 
 			}