]> khamidou — GitHub mirrors - electron.git/commitdiff
Clean up semicolon lint errors
authorKevin Sawicki <kevinsawicki@gmail.com>
Tue, 19 Jan 2016 22:53:59 +0000 (14:53 -0800)
committerKevin Sawicki <kevinsawicki@gmail.com>
Thu, 21 Jan 2016 16:32:21 +0000 (09:32 -0700)
atom/browser/default_app/main.js
atom/common/api/lib/callbacks-registry.js
atom/common/lib/asar.js
atom/common/lib/asar_init.js
atom/renderer/api/lib/ipc.js
atom/renderer/lib/web-view/web-view.js
script/eslintrc-base.json

index c325aed020370d834651f430ddd75c9752dab9a5..2c4fb1d2eeaef2037b4062d96768712953c1788b 100644 (file)
@@ -144,23 +144,29 @@ app.once('ready', function() {
       submenu: [
         {
           label: 'Learn More',
-          click: function() { shell.openExternal('http://electron.atom.io') }
+          click: function() {
+            shell.openExternal('http://electron.atom.io');
+          }
         },
         {
           label: 'Documentation',
           click: function() {
             shell.openExternal(
               `https://github.com/atom/electron/tree/v${process.versions.electron}/docs#readme`
-            )
+            );
           }
         },
         {
           label: 'Community Discussions',
-          click: function() { shell.openExternal('https://discuss.atom.io/c/electron') }
+          click: function() {
+            shell.openExternal('https://discuss.atom.io/c/electron');
+          }
         },
         {
           label: 'Search Issues',
-          click: function() { shell.openExternal('https://github.com/atom/electron/issues') }
+          click: function() {
+            shell.openExternal('https://github.com/atom/electron/issues');
+          }
         }
       ]
     },
index 5eb036129e938bebc926994a96c2f1613b15869c..5b528aa3a6c3c0ae90aa3fdc4c9082febd7056d0 100644 (file)
@@ -63,4 +63,4 @@ class CallbacksRegistry {
   }
 }
 
-module.exports = CallbacksRegistry
+module.exports = CallbacksRegistry;
index a7138c305f8850b2dc04e1870ed0baaefee52feb..7033a95642092dc12bee6d3b84cf14ac9f11b20e 100644 (file)
     overrideAPISync(fs, 'openSync');
     return overrideAPISync(child_process, 'execFileSync');
   };
-})()
+})();
index e76f4590c2e6e2272887d2d71b00f46620d663c4..49b57907c8f91c2ca279f6097023d957458827fa 100644 (file)
@@ -11,4 +11,4 @@
     source['original-fs'] = source.fs;
     return source['fs'] = "var src = '(function (exports, require, module, __filename, __dirname) { ' +\n          process.binding('natives')['original-fs'] +\n          ' });';\nvar vm = require('vm');\nvar fn = vm.runInThisContext(src, { filename: 'fs.js' });\nfn(exports, require, module);\nvar asar = require('ATOM_SHELL_ASAR');\nasar.wrapFsWithAsar(exports);";
   };
-})()
+})();
index 34954eb1d5a9a1c126789198bcd4b96ded36669f..a4bab33af8154a15bcc13e2e59555131aced3fcb 100644 (file)
@@ -11,7 +11,7 @@ deprecate.warn('ipc module', 'require("electron").ipcRenderer');
 var ipc = new EventEmitter;
 
 ipcRenderer.emit = function() {
-  var channel = arguments[0]
+  var channel = arguments[0];
   var args = 3 <= arguments.length ? slice.call(arguments, 2) : [];
   ipc.emit.apply(ipc, [channel].concat(slice.call(args)));
   return EventEmitter.prototype.emit.apply(ipcRenderer, arguments);
index dbb5c29124ce4ef3f50dd5f6d218569a44fbd139..602907dd995e639c327b0f1dc90b7574414fad05 100644 (file)
@@ -41,7 +41,7 @@ var WebViewImpl = (function() {
     // Subscribe to host's zoom level changes.
     this.onZoomLevelChanged = (zoomLevel) => {
       this.webviewNode.setZoomLevel(zoomLevel);
-    }
+    };
     webFrame.on('zoom-level-changed', this.onZoomLevelChanged);
   }
 
index c1153ef24da05ea91cf86666fd079bdad39b4006..e006f1ef5ea89282bdfabc7b58db3658b64d5927 100644 (file)
@@ -12,7 +12,7 @@
       "single"
     ],
     "semi": [
-      0,
+      2,
       "always"
     ],
     "comma-dangle": 0,