add globals
add STATIC_URL Change-Id: I9809aae8f4a89286b417dab2dd7da78d7d2ce8eb
This commit is contained in:
parent
12f226b95e
commit
e97eea170d
@ -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
|
||||||
|
|
||||||
}
|
}
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user