fix(inspectedApp): dont parse object messages

test-unit-sauce
Brian Ford 10 years ago
parent b40377531e
commit d4edd956f6

@ -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);
}