From 35839bd5925c26c462282cf2a2323e9afe4acca1 Mon Sep 17 00:00:00 2001 From: Leonardo Merlin Date: Thu, 20 Aug 2015 16:10:53 -0300 Subject: [PATCH] Update socialShare handle --- bower.json | 3 ++- src/app/components/socialShare/socialShare.directive.js | 3 --- src/app/components/socialShare/socialShare.html | 16 ++++------------ src/app/index.module.js | 2 +- src/app/pages/programas/conheca-o-programa.html | 2 +- 5 files changed, 8 insertions(+), 18 deletions(-) diff --git a/bower.json b/bower.json index a4b5094..6225ca4 100644 --- a/bower.json +++ b/bower.json @@ -13,7 +13,8 @@ "angular": "~1.4.0", "modernizr": "~2.8.3", "angular-slugify": "~1.0.1", - "open-sans-fontface": "~1.4.2" + "open-sans-fontface": "~1.4.2", + "angular-social-links": "~0.0.19" }, "devDependencies": { "angular-mocks": "~1.4.0" diff --git a/src/app/components/socialShare/socialShare.directive.js b/src/app/components/socialShare/socialShare.directive.js index cfe2223..4edbda6 100644 --- a/src/app/components/socialShare/socialShare.directive.js +++ b/src/app/components/socialShare/socialShare.directive.js @@ -11,7 +11,6 @@ restrict: 'E', templateUrl: 'app/components/socialShare/socialShare.html', scope: { - display: '=' }, controller: SocialShareController, controllerAs: 'vm', @@ -25,8 +24,6 @@ $log.debug('SocialShareController'); var vm = this; - - vm.displayFull = (vm.display && vm.display === 'full'); } } diff --git a/src/app/components/socialShare/socialShare.html b/src/app/components/socialShare/socialShare.html index efe6c79..1265be8 100644 --- a/src/app/components/socialShare/socialShare.html +++ b/src/app/components/socialShare/socialShare.html @@ -1,33 +1,25 @@
- -
- +
-- libgit2 0.21.2