From d4edd956f6ddaa4fac2191dcaf09e9661b34737d Mon Sep 17 00:00:00 2001 From: Brian Ford Date: Wed, 22 Oct 2014 18:11:23 -0700 Subject: [PATCH] fix(inspectedApp): dont parse object messages --- panel/components/inspected-app/inspected-app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panel/components/inspected-app/inspected-app.js b/panel/components/inspected-app/inspected-app.js index 3347da5..3d84660 100644 --- a/panel/components/inspected-app/inspected-app.js +++ b/panel/components/inspected-app/inspected-app.js @@ -28,7 +28,7 @@ function inspectedAppService($rootScope) { $rootScope.$applyAsync(function () { if (msg === 'refresh') { onRefreshMessage(); - } else { + } else if (typeof msg === 'string') { var hint = JSON.parse(msg); onHintMessage(hint); }