mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 01:05:53 -04:00
Make the linter happy
This commit is contained in:
parent
c9bb3aba37
commit
82e3e72037
@ -23,7 +23,7 @@ export class TradingViewWidgetWrapperComponent implements OnInit {
|
|||||||
|
|
||||||
public ngOnInit() {
|
public ngOnInit() {
|
||||||
$.getScript("https://s3.tradingview.com/tv.js", () => {
|
$.getScript("https://s3.tradingview.com/tv.js", () => {
|
||||||
new TradingView.widget({
|
const widget = new TradingView.widget({
|
||||||
"autosize": true,
|
"autosize": true,
|
||||||
"symbol": this.symbol,
|
"symbol": this.symbol,
|
||||||
"interval": this.interval,
|
"interval": this.interval,
|
||||||
@ -37,6 +37,7 @@ export class TradingViewWidgetWrapperComponent implements OnInit {
|
|||||||
"hide_legend": true,
|
"hide_legend": true,
|
||||||
"container_id": "tradingviewContainer",
|
"container_id": "tradingviewContainer",
|
||||||
});
|
});
|
||||||
|
console.log("Created widget: " + widget);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user