refactor: prefer const over var for constants

Closes #3818
This commit is contained in:
Victor Berchet
2015-08-25 11:22:21 -07:00
parent b29b045d78
commit ecf6ba3974
5 changed files with 8 additions and 9 deletions

View File

@ -10,7 +10,7 @@ import {DebugElement} from './debug_element';
const NG_ID_PROPERTY = 'ngid';
const INSPECT_GLOBAL_NAME = 'ng.probe';
var NG_ID_SEPARATOR = '#';
const NG_ID_SEPARATOR = '#';
// Need to keep the views in a global Map so that multiple angular apps are supported
var _allIdsByView = new Map<AppView, number>();