diff --git a/.jshintrc b/.jshintrc index fb1a1a6..5c97076 100644 --- a/.jshintrc +++ b/.jshintrc @@ -1,7 +1,7 @@ { "browser": true, "esnext": true, - "predef": ["angular", "horizon", "$"], + "predef": ["angular", "horizon", "$","STATIC_URL","d3"], "globalstrict": true, "quotmark": true, "smarttabs": true, @@ -26,4 +26,5 @@ "nonew": true, "supernew": true, "validthis": true + } \ No newline at end of file diff --git a/vitragedashboard/static/dashboard/project/components/sunburst/sunburst.directive.js b/vitragedashboard/static/dashboard/project/components/sunburst/sunburst.directive.js index 6ed73c3..f215176 100644 --- a/vitragedashboard/static/dashboard/project/components/sunburst/sunburst.directive.js +++ b/vitragedashboard/static/dashboard/project/components/sunburst/sunburst.directive.js @@ -5,7 +5,7 @@ angular function sunburst() { var directive = { link: link, - templateUrl: 'dashboard/project/components/sunburst/sunburst.html', + templateUrl: STATIC_URL+'dashboard/project/components/sunburst/sunburst.html', restrict: 'E' }; return directive;