projects
/
platform
/
framework
/
web
/
tizen-extensions-crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[jslint] Enable js lint and fix the errors.
[platform/framework/web/tizen-extensions-crosswalk.git]
/
power
/
power_api.js
diff --git
a/power/power_api.js
b/power/power_api.js
index
b2bab2f
..
79dfffd
100644
(file)
--- a/
power/power_api.js
+++ b/
power/power_api.js
@@
-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;
}