1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 10:39:25 +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 ModalInstanceCtrl = function ($scope, $modalInstance, device) {
var ModalInstanceCtrl = function ($scope, $modalInstance) {
$scope.ok = function () {
$modalInstance.close(true)
$location.path('/')

View file

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