1 2; 3dnnsfAngular15.module('afControls').directive('afTextbox', ['$compile', '$timeout', '$parse', '$sce', '$http', '$templateCache', 4 function ($compile, $timeout, $parse, $sce, $http, $templateCache) { 5 return { 6 restrict: 'A', 7 scope: { 8 settings: '=', 9 field: '=', 10 registerToEvent: '&' 11 }, 12 //templateUrl: "textbox.html", 13 link: function (scope, element, attrs) { 14 console.log(scope.settings); 15 16 var templateUrl = scope.settings.FormTemplateBaseUrl + "/controls/textbox.html";// $parse(attrs.template)(scope); 17 $http.get(templateUrl, { cache: $templateCache }).success(function (tplContent) { 18 element.replaceWith($compile(tplContent)(scope)); 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.