From 9a88f2187aec7ff837bb2a0f2771b17e5ab0b013 Mon Sep 17 00:00:00 2001 From: Rafael Diego Gomes Date: Wed, 6 Apr 2016 17:47:56 -0300 Subject: [PATCH] ids de producao, correcoes no socialShare --- gulp/build.js | 2 ++ src/app/components/social-share/social-share.directive.js | 8 ++++---- src/app/components/social-share/social-share.html | 16 ++++++++-------- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/gulp/build.js b/gulp/build.js index 9e04580..02f9eed 100644 --- a/gulp/build.js +++ b/gulp/build.js @@ -48,6 +48,8 @@ gulp.task('html', ['inject', 'partials'], function () { .pipe($.if($.util.env.production, $.replace('http://hom.dialoga.gov.br', 'http://dialoga.gov.br'))) .pipe($.if($.util.env.production, $.replace('http://hom.login.dialoga.gov.br', 'http://login.dialoga.gov.br'))) .pipe($.if($.util.env.production, $.replace('6LcLPAcTAAAAAKsd0bxY_TArhD_A7OL19SRCW7_i', '6LeDTRUTAAAAAA1VMOmIa2oqqWaPfXsv7J90r_49'))) + .pipe($.if($.util.env.production, $.replace('faq: \'117322\'', 'faq: \'128956\''))) + .pipe($.if($.util.env.production, $.replace('acessibility: \'117319\'', 'acessibility: \'128972\''))) // staging .pipe($.if($.util.env.staging, $.replace('http://dialoga.gov.br', 'http://hom.dialoga.gov.br'))) .pipe($.if($.util.env.staging, $.replace('http://login.dialoga.gov.br', 'http://hom.login.dialoga.gov.br'))) diff --git a/src/app/components/social-share/social-share.directive.js b/src/app/components/social-share/social-share.directive.js index cd285c6..bdeb090 100644 --- a/src/app/components/social-share/social-share.directive.js +++ b/src/app/components/social-share/social-share.directive.js @@ -11,10 +11,10 @@ restrict: 'E', templateUrl: 'app/components/social-share/social-share.html', scope: { - socialVia: '=', - socialUrl: '=', - socialImage: '=', - socialText: '=', + socialVia: '=?', + socialUrl: '=?', + socialImage: '=?', + socialText: '=?', arrowClass: '@' }, controller: SocialShareController, diff --git a/src/app/components/social-share/social-share.html b/src/app/components/social-share/social-share.html index b4ca4be..5bd4316 100644 --- a/src/app/components/social-share/social-share.html +++ b/src/app/components/social-share/social-share.html @@ -7,11 +7,11 @@ socialshare socialshare-provider="facebook" socialshare-type="feed" - socialshare-via="{{vm.socialVia}}" - socialshare-url="{{vm.socialUrl}}" + socialshare-via="vm.socialVia" + socialshare-url="vm.socialUrl" socialshare-redirect-uri="https://dialoga.gov.br/" - socialshare-media="{{vm.socialImage}}" - socialshare-text="{{vm.socialText}}" + socialshare-media="vm.socialImage" + socialshare-text="vm.socialText" title="Compartilhar no Facebook"> Compartilhar no Facebook @@ -21,8 +21,8 @@ @@ -33,8 +33,8 @@ Compartilhar no Google Plus -- libgit2 0.21.2