1LimoLabsIcabbiApp.directive('errorSrc', function() { 2 return { 3 link: function(scope, element, attrs) { 4 5 element.bind('error', function() { 6 if (attrs.src != attrs.errorSrc) { 7 attrs.$set('src', attrs.errorSrc); 8 } 9 }); 10 11 attrs.$observe('ngSrc', function(value) { 12 if (!value && attrs.errorSrc) { 13 attrs.$set('src', attrs.errorSrc); 14 } 15 }); 16 17 } 18 } 19});
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.