Browse Source

Clean up.

Mr.doob 4 năm trước cách đây
mục cha
commit
e9e9bcda18
3 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 1 1
      src/extras/core/CurvePath.js
  2. 1 1
      src/extras/core/Path.js
  3. 1 1
      src/extras/core/Shape.js

+ 1 - 1
src/extras/core/CurvePath.js

@@ -212,7 +212,7 @@ class CurvePath extends Curve {
 
 	toJSON() {
 
-		const data = super.toJSON( );
+		const data = super.toJSON();
 
 		data.autoClose = this.autoClose;
 		data.curves = [];

+ 1 - 1
src/extras/core/Path.js

@@ -171,7 +171,7 @@ class Path extends CurvePath {
 
 	toJSON() {
 
-		const data = super.toJSON( );
+		const data = super.toJSON();
 
 		data.currentPoint = this.currentPoint.toArray();
 

+ 1 - 1
src/extras/core/Shape.js

@@ -62,7 +62,7 @@ class Shape extends Path {
 
 	toJSON() {
 
-		const data = super.toJSON( );
+		const data = super.toJSON();
 
 		data.uuid = this.uuid;
 		data.holes = [];