Skip to content

Commit

Permalink
jshint: Enable bitwise stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
ibc committed Nov 22, 2015
1 parent 502d5a1 commit a7ae62e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .jshintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"bitwise": true,
"bitwise": false,
"curly": true,
"eqeqeq": true,
"forin": true,
Expand Down
8 changes: 4 additions & 4 deletions js/MediaStreamRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,10 @@ MediaStreamRenderer.prototype.refresh = function () {
computedStyle = window.getComputedStyle(this.element);

// get padding values
paddingTop = parseInt(computedStyle.paddingTop)|0;
paddingBottom = parseInt(computedStyle.paddingBottom)|0;
paddingLeft = parseInt(computedStyle.paddingLeft)|0;
paddingRight = parseInt(computedStyle.paddingRight)|0;
paddingTop = parseInt(computedStyle.paddingTop) | 0;
paddingBottom = parseInt(computedStyle.paddingBottom) | 0;
paddingLeft = parseInt(computedStyle.paddingLeft) | 0;
paddingRight = parseInt(computedStyle.paddingRight) | 0;

// fix position according to padding
elementLeft += paddingLeft;
Expand Down

0 comments on commit a7ae62e

Please sign in to comment.