mirror of
https://github.com/openstf/stf
synced 2025-10-05 02:29:26 +02:00
Removed circular dependency.
This commit is contained in:
parent
6b67d66a93
commit
5e6831ba65
2 changed files with 2 additions and 3 deletions
|
@ -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('/')
|
||||||
|
|
|
@ -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'))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue