tslint: tslint to const fixes part3 (#13036)

This commit is contained in:
Torkel Ödegaard
2018-08-26 21:52:57 +02:00
committed by GitHub
parent 35c00891e7
commit e1beaaa0f7
56 changed files with 359 additions and 363 deletions

View File

@@ -33,7 +33,7 @@ export class UtilSrv {
this.modalScope = this.$rootScope.$new();
}
var modal = this.$modal({
const modal = this.$modal({
modalClass: options.modalClass,
template: options.src,
templateHtml: options.templateHtml,
@@ -50,7 +50,7 @@ export class UtilSrv {
}
showConfirmModal(payload) {
var scope = this.$rootScope.$new();
const scope = this.$rootScope.$new();
scope.onConfirm = function() {
payload.onConfirm();