mirror of
https://github.com/xenia-project/xenia.git
synced 2026-04-06 07:03:33 +00:00
Threads displayed.
This commit is contained in:
parent
d368e0cb74
commit
a1da55a006
19 changed files with 468 additions and 131 deletions
|
|
@ -21,17 +21,15 @@ module.controller('FunctionViewController', function(
|
|||
$scope.highlightInfo = null;
|
||||
|
||||
function refresh() {
|
||||
if (!app.session || !app.session.dataSource) {
|
||||
if (!app.session) {
|
||||
$scope.fn = null;
|
||||
return;
|
||||
}
|
||||
var dataSource = app.session.dataSource;
|
||||
|
||||
dataSource.getFunction($scope.functionAddress).then(function(fn) {
|
||||
app.session.state.fetchFunction($scope.functionAddress).then(function(fn) {
|
||||
$scope.fn = fn;
|
||||
updateCode();
|
||||
}, function(e) {
|
||||
log.error('Unable to fetch function');
|
||||
log.error('Unable to fetch function.');
|
||||
});
|
||||
};
|
||||
$rootScope.$on('refresh', refresh);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue