File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ class AColor {
6161 return JSON . stringify ( this . toJSON ( ) ) ;
6262 }
6363
64- toCSSVars ( name , target ) {
64+ toCSSVars ( name , target = { } ) {
6565 return convertToCSSVars ( name , this . toJSON ( ) , target ) ;
6666 }
6767
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ class ADegree {
2525 return JSON . stringify ( this . toJSON ( ) ) ;
2626 }
2727
28- toCSSVars ( name , target ) {
28+ toCSSVars ( name , target = { } ) {
2929 return convertToCSSVars ( name , this . toJSON ( ) , target ) ;
3030 }
3131}
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ class APoint {
132132 return JSON . stringify ( this . toJSON ( ) ) ;
133133 }
134134
135- toCSSVars ( name , target ) {
135+ toCSSVars ( name , target = { } ) {
136136 return convertToCSSVars ( name , this . toJSON ( ) , target ) ;
137137 }
138138
Original file line number Diff line number Diff line change @@ -253,7 +253,7 @@ class AQuaternion {
253253 return JSON . stringify ( this . toJSON ( ) ) ;
254254 }
255255
256- toCSSVars ( name , target ) {
256+ toCSSVars ( name , target = { } ) {
257257 return convertToCSSVars ( name , this . toJSON ( ) , target ) ;
258258 }
259259}
Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ class AVector {
171171 return JSON . stringify ( this . toJSON ( ) ) ;
172172 }
173173
174- toCSSVars ( name , target ) {
174+ toCSSVars ( name , target = { } ) {
175175 return convertToCSSVars ( name , this . toJSON ( ) , target ) ;
176176 }
177177
You can’t perform that action at this time.
0 commit comments