Skip to content

Commit

Permalink
style(monument): separate bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
yarl committed May 29, 2017
1 parent 05c2b6f commit 4c258ea
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/main/monument/monument.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ function controller($anchorScroll, $http, $mdDialog, $mdMenu, $q, $sce, $statePa
const id = $stateParams.id.includes('Q') ? $stateParams.id : `Q${$stateParams.id}`;
const langs = langService.getUserLanguages();

vm.getCommonsLink = getCommonsLink;
vm.getWikipediaArticle = getWikipediaArticle;
vm.image = [];
vm.lang = langs[0];
vm.map = {};

vm.getCommonsLink = getCommonsLink;
vm.getWikipediaArticle = getWikipediaArticle;
vm.openArticleList = (menu, event) => menu.open(event);
vm.openImage = openImage;
vm.scrollTo = anchor => $anchorScroll(anchor);
Expand Down

0 comments on commit 4c258ea

Please sign in to comment.