[jslint] Enable js lint and fix the errors.
[platform/framework/web/tizen-extensions-crosswalk.git] / power / power_api.js
index b2bab2f..79dfffd 100644 (file)
@@ -141,7 +141,7 @@ exports.getScreenBrightness = function() {
   var r = JSON.parse(sendSyncMessage({
     'cmd': 'PowerGetScreenBrightness'
   }));
-  if (r['error']){
+  if (r['error']) {
     throw new tizen.WebAPIException(tizen.WebAPIException.NOT_SUPPORTED_ERR);
     return;
   }