mirror of
https://github.com/xenia-project/xenia.git
synced 2026-04-06 07:03:33 +00:00
Module info in json.
This commit is contained in:
parent
c45f573472
commit
dcd9f8b6ff
7 changed files with 339 additions and 125 deletions
|
|
@ -66,12 +66,16 @@ module.controller('CodeTabController', function(
|
|||
var modalInstance = $modal.open({
|
||||
templateUrl: 'assets/ui/code/module-info.html',
|
||||
controller: 'ModuleInfoController',
|
||||
windowClass: 'debugger-module-info'
|
||||
// resolve: {
|
||||
// items: function () {
|
||||
// return $scope.items;
|
||||
// }
|
||||
// }
|
||||
windowClass: 'debugger-module-info',
|
||||
resolve: {
|
||||
moduleName: function() {
|
||||
return $scope.selectedModule.name;
|
||||
},
|
||||
moduleInfo: function() {
|
||||
return app.session.dataSource.getModule(
|
||||
$scope.selectedModule.name);
|
||||
}
|
||||
}
|
||||
});
|
||||
modalInstance.result.then(function() {
|
||||
}, function () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue