Displaying (unformatted) function code.

This commit is contained in:
Ben Vanik
2013-12-22 09:25:44 -08:00
parent 4ecdfed46f
commit c92142ca02
20 changed files with 242 additions and 44 deletions

View File

@@ -13,7 +13,7 @@ var module = angular.module('xe.session', []);
module.service('Session', function(
$q, $http, log, FileDataSource, RemoteDataSource) {
$rootScope, $q, $http, log, FileDataSource, RemoteDataSource) {
var Session = function(id, opt_dataSource) {
this.id = id;
@@ -85,6 +85,7 @@ module.service('Session', function(
if (this.dataSource) {
this.dataSource.dispose();
this.dataSource = null;
$rootScope.$emit('refresh');
}
};