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, "browser": true,
"esnext": true, "esnext": true,
"predef": ["angular", "horizon", "$"], "predef": ["angular", "horizon", "$","STATIC_URL","d3"],
"globalstrict": true, "globalstrict": true,
"quotmark": true, "quotmark": true,
"smarttabs": true, "smarttabs": true,
@ -26,4 +26,5 @@
"nonew": true, "nonew": true,
"supernew": true, "supernew": true,
"validthis": true "validthis": true
} }

View File

@ -5,7 +5,7 @@ angular
function sunburst() { function sunburst() {
var directive = { var directive = {
link: link, link: link,
templateUrl: 'dashboard/project/components/sunburst/sunburst.html', templateUrl: STATIC_URL+'dashboard/project/components/sunburst/sunburst.html',
restrict: 'E' restrict: 'E'
}; };
return directive; return directive;