Moves includes to the top of the file.

This commit is contained in:
Boris Grozev 2015-08-24 16:03:50 -05:00
parent dc2b63fc60
commit c0a51fedd0
1 changed files with 7 additions and 11 deletions

View File

@ -1,5 +1,12 @@
/* global $, alert, APP, changeLocalVideo, chrome, config, getConferenceHandler,
getUserMediaWithConstraints */
var AdapterJS = require("../RTC/adapter.screenshare");
var EventEmitter = require("events");
var DesktopSharingEventTypes
= require("../../service/desktopsharing/DesktopSharingEventTypes");
var RTCBrowserType = require("../RTC/RTCBrowserType");
var RTCEvents = require("../../service/RTC/RTCEvents");
/**
* Indicates that desktop stream is currently in use(for toggle purpose).
* @type {boolean}
@ -31,19 +38,8 @@ var extInstalled = false;
*/
var extUpdateRequired = false;
var AdapterJS = require("../RTC/adapter.screenshare");
var EventEmitter = require("events");
var eventEmitter = new EventEmitter();
var DesktopSharingEventTypes
= require("../../service/desktopsharing/DesktopSharingEventTypes");
var RTCBrowserType = require("../RTC/RTCBrowserType");
var RTCEvents = require("../../service/RTC/RTCEvents");
/**
* Method obtains desktop stream from WebRTC 'screen' source.
* Flag 'chrome://flags/#enable-usermedia-screen-capture' must be enabled.