mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-08-31 14:12:08 +00: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