浏览代码

Clean up.

Mr.doob 4 年之前
父节点
当前提交
e9e9bcda18
共有 3 个文件被更改,包括 3 次插入3 次删除
  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 = [];