Browse Source

fix js lint errors

leethomas 8 years ago
parent
commit
9e189b9d2d
1 changed files with 4 additions and 4 deletions
  1. 4 4
      spec/api-browser-window-spec.js

+ 4 - 4
spec/api-browser-window-spec.js

@@ -514,14 +514,14 @@ describe('BrowserWindow module', function () {
       assert.equal(w.isAlwaysOnTop(), true)
     })
 
-    it('raises an error when relativeLevel is out of bounds', function() {
-      if (process.platform !== 'darwin') return;
+    it('raises an error when relativeLevel is out of bounds', function () {
+      if (process.platform !== 'darwin') return
 
-      assert.throws(function() {
+      assert.throws(function () {
         w.setAlwaysOnTop(true, '', -1)
       })
 
-      assert.throws(function() {
+      assert.throws(function () {
         w.setAlwaysOnTop(true, '', 2147483632)
       })
     })