AppController eslinted

This commit is contained in:
tmshv committed 2017-01-22 06:45:11 +03:00
1 parent ca23ccc75f
commit e3b95a68e6
1 file changed
+15 -15
+15 -15
View File
@@ -1,19 +1,19 @@
import {footer, mobileMatchSelector, contacts} from '../config';
import {footer, mobileMatchSelector, contacts} from '../config'
export default function (app) {
app.controller('AppController', ($scope, menu) => {
try {
if (window.matchMedia(mobileMatchSelector).matches) {
$scope.navigation = 'navigation';
}else{
$scope.navigation = 'main-menu';
}
} catch (e) {
$scope.navigation = 'main-menu';
}
app.controller('AppController', ($scope, menu) => {
try {
if (window.matchMedia(mobileMatchSelector).matches) {
$scope.navigation = 'navigation'
} else {
$scope.navigation = 'main-menu'
}
} catch (e) {
$scope.navigation = 'main-menu'
}
$scope.phone = contacts.telephone;
$scope.menuProvider = menu.items;
$scope.footer = footer;
});
$scope.phone = contacts.telephone
$scope.menuProvider = menu.items
$scope.footer = footer
})
};