Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Add injections to d3setup so minification now does not break loading …
Browse files Browse the repository at this point in the history
…of this file
  • Loading branch information
karelhala committed Nov 6, 2015
1 parent 3a2a94c commit f2a4fd3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions console/src/main/scripts/plugins/topology/ts/d3Setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@

module HawkularTopology {

_module.run(($rootScope, $location) => {
_module.run(['$rootScope', '$location',
($rootScope, $location) => {

/* A cache to prevent jumping when rapidly toggling views */
var cache = {};
Expand Down Expand Up @@ -293,5 +294,5 @@ module HawkularTopology {
};
};
HawkularTopology.initGraph = initGraph;
});
}]);
}

0 comments on commit f2a4fd3

Please sign in to comment.