1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 02:29:26 +02:00

Removed circular dependency.

This commit is contained in:
Gunther Brunner 2014-05-28 16:01:27 +09:00
parent 6b67d66a93
commit 5e6831ba65
2 changed files with 2 additions and 3 deletions

View file

@ -1,7 +1,7 @@
module.exports = function FatalMessageServiceFactory($modal, $location, socket) { module.exports = function FatalMessageServiceFactory($modal, $location) {
var service = {} var service = {}
var ModalInstanceCtrl = function ($scope, $modalInstance, device) { var ModalInstanceCtrl = function ($scope, $modalInstance) {
$scope.ok = function () { $scope.ok = function () {
$modalInstance.close(true) $modalInstance.close(true)
$location.path('/') $location.path('/')

View file

@ -1,4 +1,3 @@
module.exports = angular.module('stf/socket', [ module.exports = angular.module('stf/socket', [
require('stf/common-ui/modals/version-update').name
]) ])
.factory('socket', require('./socket-service')) .factory('socket', require('./socket-service'))