Browse Source

Fix linter errors

Jonas Schwabe 8 years ago
parent
commit
e3ba6818af
2 changed files with 3 additions and 3 deletions
  1. 2 2
      atom/browser/browser.h
  2. 1 1
      lib/browser/api/app.js

+ 2 - 2
atom/browser/browser.h

@@ -149,14 +149,14 @@ class Browser : public WindowListObserver {
   // one from app's name.
   // The returned string managed by Browser, and should not be modified.
   PCWSTR GetAppUserModelID();
-#endif // defined(OS_WIN)
+#endif  // defined(OS_WIN)
 
 #if defined(OS_LINUX)
   // Set/Get unity dock's badge counter.
   bool UnityLauncherAvailable();
   void UnityLauncherSetBadgeCount(int count);
   int UnityLauncherGetBadgeCount();
-#endif // defined(OS_LINUX)
+#endif  // defined(OS_LINUX)
 
   // Tell the application to open a file.
   bool OpenFile(const std::string& file_path);

+ 1 - 1
lib/browser/api/app.js

@@ -49,7 +49,7 @@ if (process.platform === 'linux' && bindings.unityLauncherAvailable()) {
   app.unityLauncher = {
     setBadgeCount: bindings.unityLauncherSetBadgeCount,
     getBadgeCount: bindings.unityLauncherGetBadgeCount
-  };
+  }
 }
 
 app.allowNTLMCredentialsForAllDomains = function (allow) {