Bug 1181825 - Enable eslint rules for Loop: no-extra-boolean cast, no-redeclare, r=dmose
This commit is contained in:
@@ -151,8 +151,8 @@ loop.shared.mixins = (function() {
|
||||
boundingRect.width -= boundOffset;
|
||||
boundingRect.height -= boundOffset;
|
||||
|
||||
var x = menuNodeRect.left;
|
||||
var y = menuNodeRect.top;
|
||||
x = menuNodeRect.left;
|
||||
y = menuNodeRect.top;
|
||||
|
||||
// If there's an anchor present, position it relative to it first.
|
||||
var anchor = this.refs.anchor && this.refs.anchor.getDOMNode();
|
||||
@@ -472,8 +472,8 @@ loop.shared.mixins = (function() {
|
||||
// Supply some sensible defaults for the remoteVideoDimensions if no remote
|
||||
// stream is connected (yet).
|
||||
if (!remoteVideoDimensions) {
|
||||
var node = this._getElement(".remote");
|
||||
var width = node.offsetWidth;
|
||||
node = this._getElement(".remote");
|
||||
width = node.offsetWidth;
|
||||
var height = node.offsetHeight;
|
||||
remoteVideoDimensions = {
|
||||
width: width,
|
||||
|
||||
Reference in New Issue
Block a user