Make the linter happy

This commit is contained in:
Travis Ralston 2018-10-22 00:47:42 -06:00
parent c9bb3aba37
commit 82e3e72037

View File

@ -23,7 +23,7 @@ export class TradingViewWidgetWrapperComponent implements OnInit {
public ngOnInit() {
$.getScript("https://s3.tradingview.com/tv.js", () => {
new TradingView.widget({
const widget = new TradingView.widget({
"autosize": true,
"symbol": this.symbol,
"interval": this.interval,
@ -37,6 +37,7 @@ export class TradingViewWidgetWrapperComponent implements OnInit {
"hide_legend": true,
"container_id": "tradingviewContainer",
});
console.log("Created widget: " + widget);
});
}
}