From cb0faccdc13f7d9f6bfead5fdb7b26e5b4de1494 Mon Sep 17 00:00:00 2001 From: "James M.Z" Date: Thu, 19 Jan 2017 23:46:57 +0800 Subject: [PATCH] Rename the variable msg to be $msg. --- src/themes/smalltalk.view | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/themes/smalltalk.view b/src/themes/smalltalk.view index 7d67733..5c89baa 100644 --- a/src/themes/smalltalk.view +++ b/src/themes/smalltalk.view @@ -443,17 +443,17 @@ autoupdate(); is_running = false; }).fail(function( msg ) { - msg = msg.responseJSON; - if(msg.error == "expired") { + $msg = msg.responseJSON; + if($msg.error == "expired") { command("expired"); } - else if(msg.error == "session-timeout") { + else if($msg.error == "session-timeout") { command("session-timeout"); } else { connection_timer.start(); is_running = false; - console.log(msg); + console.log($msg); } }); }