📝 Fix code style issue

* Match equality operators for consistent that `==`, `!=` by `===`,
`!==`.
* Match string expression notation `"` by `'`.

[ci skip]
This commit is contained in:
Plusb Preco 2016-05-10 18:42:11 +09:00
parent 3cc2dd216f
commit 5787bb0226
11 changed files with 33 additions and 33 deletions

View file

@ -10,7 +10,7 @@ var { desktopCapturer } = require('electron');
desktopCapturer.getSources({types: ['window', 'screen']}, (error, sources) => {
if (error) throw error;
for (var i = 0; i < sources.length; ++i) {
if (sources[i].name == "Electron") {
if (sources[i].name === 'Electron') {
navigator.webkitGetUserMedia({
audio: false,
video: {