1app.directive("socialShareContent", [ 2 function () { 3 "use strict"; 4 return { 5 restrict: "E", 6 templateUrl: "/Templates/SocialShareContent.html", 7 scope: { 8 placement: '=' 9 }, 10 link: function (scope, element, attrs) { 11 var facebookShareConstant = "http://www.facebook.com/sharer.php?u="; 12 var linkedInShareConstant = "http://www.linkedin.com/shareArticle?mini=true&url="; 13 14 var linkToPage = encodeURI(window.location.href); 15 16 scope.fbLink = facebookShareConstant + linkToPage; 17 scope.linkedInLink = linkedInShareConstant + linkToPage; 18 } 19 } 20 } 21]); 22 23
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.