Browse Source

style(RingOverlay): Rename onAvatarDisplayed to onAvatarVisible

master
hristoterezov 8 years ago
parent
commit
58a07355fb
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      modules/UI/ring_overlay/RingOverlay.js

+ 3
- 3
modules/UI/ring_overlay/RingOverlay.js View File

13
  * @param {boolean} shown indicates whether the avatar on the large video is
13
  * @param {boolean} shown indicates whether the avatar on the large video is
14
  *  currently displayed or not.
14
  *  currently displayed or not.
15
  */
15
  */
16
-function onAvatarDisplayed(shown) {
16
+function onAvatarVisible(shown) {
17
     overlay._changeBackground(shown);
17
     overlay._changeBackground(shown);
18
 }
18
 }
19
 
19
 
148
 
148
 
149
         overlay = new RingOverlay(callee, disableRingingSound);
149
         overlay = new RingOverlay(callee, disableRingingSound);
150
         APP.UI.addListener(UIEvents.LARGE_VIDEO_AVATAR_VISIBLE,
150
         APP.UI.addListener(UIEvents.LARGE_VIDEO_AVATAR_VISIBLE,
151
-            onAvatarDisplayed);
151
+            onAvatarVisible);
152
     },
152
     },
153
 
153
 
154
     /**
154
     /**
162
         overlay.destroy();
162
         overlay.destroy();
163
         overlay = null;
163
         overlay = null;
164
         APP.UI.removeListener(UIEvents.LARGE_VIDEO_AVATAR_VISIBLE,
164
         APP.UI.removeListener(UIEvents.LARGE_VIDEO_AVATAR_VISIBLE,
165
-            onAvatarDisplayed);
165
+            onAvatarVisible);
166
         return true;
166
         return true;
167
     },
167
     },
168
 
168
 

Loading…
Cancel
Save