Bläddra i källkod

Renames EtherpadContainerType to ETHERPAD_CONTAINER_TYPE.

master
damencho 9 år sedan
förälder
incheckning
eefdbd4fe5
1 ändrade filer med 5 tillägg och 4 borttagningar
  1. 5
    4
      modules/UI/etherpad/Etherpad.js

+ 5
- 4
modules/UI/etherpad/Etherpad.js Visa fil

52
  */
52
  */
53
 const DEFAULT_HEIGHT = 480;
53
 const DEFAULT_HEIGHT = 480;
54
 
54
 
55
-const EtherpadContainerType = "etherpad";
55
+const ETHERPAD_CONTAINER_TYPE = "etherpad";
56
 
56
 
57
 /**
57
 /**
58
  * Container for Etherpad iframe.
58
  * Container for Etherpad iframe.
159
     openEtherpad () {
159
     openEtherpad () {
160
         this.etherpad = new Etherpad(this.domain, this.name);
160
         this.etherpad = new Etherpad(this.domain, this.name);
161
         VideoLayout.addLargeVideoContainer(
161
         VideoLayout.addLargeVideoContainer(
162
-            EtherpadContainerType,
162
+            ETHERPAD_CONTAINER_TYPE,
163
             this.etherpad
163
             this.etherpad
164
         );
164
         );
165
     }
165
     }
174
         }
174
         }
175
 
175
 
176
         let isVisible = VideoLayout.isLargeContainerTypeVisible(
176
         let isVisible = VideoLayout.isLargeContainerTypeVisible(
177
-            EtherpadContainerType
177
+            ETHERPAD_CONTAINER_TYPE
178
         );
178
         );
179
 
179
 
180
-        VideoLayout.showLargeVideoContainer(EtherpadContainerType, !isVisible);
180
+        VideoLayout.showLargeVideoContainer(
181
+            ETHERPAD_CONTAINER_TYPE, !isVisible);
181
     }
182
     }
182
 }
183
 }

Laddar…
Avbryt
Spara