Merge branch 'tizen_4.0' into tizen_5.0
[platform/core/api/webapi-plugins.git] / src / power / power_api.js
index 2c2a185..7a93b53 100755 (executable)
@@ -104,8 +104,8 @@ PowerManager.prototype.request = function() {
 
     if (args.state === PowerScreenState.SCREEN_BRIGHT) {
         privUtils_.warn(
-            'DEPRECATION WARNING: SCREEN_BRIGHT is deprecated ' +
-                'and will be removed from next release.'
+            'DEPRECATION WARNING: SCREEN_BRIGHT is deprecated and will be removed ' +
+                'from next release.'
         );
     }
 
@@ -247,8 +247,8 @@ PowerManager.prototype.restoreScreenBrightness = function() {
  */
 PowerManager.prototype.turnScreenOn = function() {
     privUtils_.warn(
-        'DEPRECATION WARNING: turnScreenOn() is deprecated ' +
-            'and will be removed from next release. Use request() instead.'
+        'DEPRECATION WARNING: turnScreenOn() is deprecated and will be removed from ' +
+            'next release. Use request() instead.'
     );
 
     var ret = native_.callSync('PowerManager_turnScreenOn', {});
@@ -262,8 +262,8 @@ PowerManager.prototype.turnScreenOn = function() {
  */
 PowerManager.prototype.turnScreenOff = function() {
     privUtils_.warn(
-        'DEPRECATION WARNING: turnScreenOff() is deprecated ' +
-            'and will be removed from next release. Use release() instead.'
+        'DEPRECATION WARNING: turnScreenOff() is deprecated and will be removed from ' +
+            'next release. Use release() instead.'
     );
 
     var ret = native_.callSync('PowerManager_turnScreenOff', {});