Procházet zdrojové kódy

Replace the template literal with string concat in the manual for lights (#33012)

Valeria Stamenova před 1 týdnem
rodič
revize
132fc459e8

+ 1 - 1
manual/en/lights.html

@@ -139,7 +139,7 @@ color.</p>
     this.prop = prop;
   }
   get value() {
-    return `#${this.object[this.prop].getHexString()}`;
+    return '#' + this.object[this.prop].getHexString();
   }
   set value(hexString) {
     this.object[this.prop].set(hexString);

+ 1 - 1
manual/fr/lights.html

@@ -139,7 +139,7 @@ couleur de la lumière.</p>
     this.prop = prop;
   }
   get value() {
-    return `#${this.object[this.prop].getHexString()}`;
+    return '#' + this.object[this.prop].getHexString();
   }
   set value(hexString) {
     this.object[this.prop].set(hexString);

+ 1 - 1
manual/ja/lights.html

@@ -128,7 +128,7 @@ lil-guiで色を調整するにはヘルパーが必要です。
     this.prop = prop;
   }
   get value() {
-    return `#${this.object[this.prop].getHexString()}`;
+    return '#' + this.object[this.prop].getHexString();
   }
   set value(hexString) {
     this.object[this.prop].set(hexString);

+ 1 - 1
manual/ko/lights.html

@@ -129,7 +129,7 @@ scene.add(light);
     this.prop = prop;
   }
   get value() {
-    return `#${this.object[this.prop].getHexString()}`;
+    return '#' + this.object[this.prop].getHexString();
   }
   set value(hexString) {
     this.object[this.prop].set(hexString);

+ 1 - 1
manual/ru/lights.html

@@ -141,7 +141,7 @@ scene.add(light);
     this.prop = prop;
   }
   get value() {
-    return `#${this.object[this.prop].getHexString()}`;
+    return '#' + this.object[this.prop].getHexString();
   }
   set value(hexString) {
     this.object[this.prop].set(hexString);

+ 1 - 1
manual/zh/lights.html

@@ -113,7 +113,7 @@ scene.add(light);
     this.prop = prop;
   }
   get value() {
-    return `#${this.object[this.prop].getHexString()}`;
+    return '#' + this.object[this.prop].getHexString();
   }
   set value(hexString) {
     this.object[this.prop].set(hexString);

粤ICP备19079148号