add globals

add STATIC_URL

Change-Id: I9809aae8f4a89286b417dab2dd7da78d7d2ce8eb
This commit is contained in:
Omer Etrog 2015-12-21 12:34:10 +02:00
parent 12f226b95e
commit e97eea170d
2 changed files with 3 additions and 2 deletions

View File

@ -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
}

View File

@ -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;