Fixed naming convention 84/212284/2
authorDongHyun Song <dh81.song@samsung.com>
Tue, 20 Aug 2019 02:18:52 +0000 (11:18 +0900)
committerDongHyun Song <dh81.song@samsung.com>
Tue, 20 Aug 2019 02:33:15 +0000 (02:33 +0000)
Fixed un-unified variables for naming convention

Change-Id: If9c5075c64ec473e56b955f233c08bac598d0e73
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
wrt_app/src/runtime.js [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 56dfabe..6be68bd
@@ -29,8 +29,8 @@ class Runtime {
         this.handleIpcMessages();
         this.addonManager = null;
         this.isLaunched = false;
-        this.debug_mode = false;
-        this.need_inspector = false;
+        this.debugMode = false;
+        this.needInspector = false;
         this.webContents = null;
         this.allowQuit = false;
 
@@ -125,7 +125,7 @@ class Runtime {
                             _this.addonManager.isAddonAvailable();
                     options.launchMode = appControl.getData('http://samsung.com/appcontrol/data/launch_mode');
                     _this.webApplication = new WebApplication(options);
-                    if (!_this.debug_mode && wrt.needUseInspector()) {
+                    if (!_this.debugMode && wrt.needUseInspector()) {
                         _this.webApplication.defaultSrc = src;
                         src = "about:blank";
                     }
@@ -171,8 +171,8 @@ class Runtime {
             wrt.setCookiePath();
 
             // AUL public key/Vconf - To support inspector
-            if (!_this.debug_mode && _this.checkInspectorCondition(appControl)) {
-                _this.debug_mode = true;
+            if (!_this.debugMode && _this.checkInspectorCondition(appControl)) {
+                _this.debugMode = true;
                 _this.launchInspector(appControl);
             }
         });
@@ -209,14 +209,14 @@ class Runtime {
     checkInspectorCondition(appControl) {
         var _this = this;
         let bundle_debug = (appControl.getData('__AUL_DEBUG__') === "1");
-        _this.need_inspector =  wrt.needUseInspector();
-        return (bundle_debug || _this.need_inspector);
+        _this.needInspector =  wrt.needUseInspector();
+        return (bundle_debug || _this.needInspector);
     }
     launchInspector(appControl) {
         var _this   = this;
         var portnum = wrt.getDebuggingPort();
         var data    = { "port" :  [ portnum.toString() ] };
-        if(_this.need_inspector) {
+        if(_this.needInspector) {
             _this.webApplication.debugport = portnum;
         }
         appControl.reply(data);