Use const instead of let on never reassigned var

Signed-off-by: Julen Landa Alustiza <julen@zokormazo.info>
This commit is contained in:
Julen Landa Alustiza 2017-09-25 22:59:35 +02:00
parent 2677a17c8a
commit 22887c47bc

View File

@ -11,7 +11,7 @@ function atSideNavLink (scope, element, attrs, ctrl) {
}
function AtSideNavController ($scope, $window) {
let vm = this || {};
const vm = this || {};
const breakpoint = 700;
vm.isExpanded = false;