diff --git a/panel/scopes/scopes.html b/panel/scopes/scopes.html index 2680598..444a3e5 100644 --- a/panel/scopes/scopes.html +++ b/panel/scopes/scopes.html @@ -14,7 +14,9 @@ diff --git a/panel/scopes/scopes.js b/panel/scopes/scopes.js index 2cd8b66..3fb8565 100644 --- a/panel/scopes/scopes.js +++ b/panel/scopes/scopes.js @@ -7,6 +7,9 @@ function ScopesController($scope, inspectedApp) { $scope.scopes = inspectedApp.scopes; $scope.watch = inspectedApp.watch; + $scope.inspect = function (path) { + inspectedApp.watch($scope.inspectedScope, path); + }; $scope.inspectedScope = null;