mirror of
https://github.com/xenia-project/xenia.git
synced 2026-04-06 07:03:33 +00:00
Messaging over debug channel.
This commit is contained in:
parent
a9378eb7eb
commit
80d8dc02aa
13 changed files with 319 additions and 20 deletions
32
debugger/assets/ui/code/code-tab.js
Normal file
32
debugger/assets/ui/code/code-tab.js
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/**
|
||||
******************************************************************************
|
||||
* Xenia : Xbox 360 Emulator Research Project *
|
||||
******************************************************************************
|
||||
* Copyright 2013 Ben Vanik. All rights reserved. *
|
||||
* Released under the BSD license - see LICENSE in the root for more details. *
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
var module = angular.module('xe.ui.code', [
|
||||
'xe.log',
|
||||
'xe.session'
|
||||
]);
|
||||
|
||||
|
||||
module.controller('CodeTabController', function(
|
||||
$rootScope, $scope, app, log) {
|
||||
|
||||
$rootScope.$on('refresh', function() {
|
||||
var dataSource = app.session.dataSource;
|
||||
|
||||
dataSource.getModuleList().then(function(list) {
|
||||
console.log(list);
|
||||
}, function(e) {
|
||||
log('Unable to fetch module list');
|
||||
});
|
||||
|
||||
console.log('refresh');
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue