1(function () { 2 'use strict'; 3 4 angular 5 .module('app', ['ngResource']); 6 7 angular.module('app') 8 .config(function ($compileProvider) { 9 $compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|ftp|mailto|file|javascript):/); 10 }); 11 12 13 angular.module('app') 14 .filter('slice', function () { 15 return function (arr, start, end) { 16 if (arr !== undefined) { 17 return arr.slice(start, end); 18 } else { 19 return arr; 20 } 21 }; 22 }).filter('to_trusted', ['$sce', function ($sce) { 23 return function (text) { 24 return $sce.trustAsHtml(text); 25 }; 26}]).filter('sliceOff', function () { 27 return function (arr, start) { 28 if (arr !== undefined) { 29 return arr.slice(start); 30 } else { 31 return arr; 32 }; 33 }; 34 }); 35})();
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.