1; (function (ng) { 2 'use strict'; 3 4 ng.module('builder') 5 .directive('builderTrigger', ['$compile', function ($compile) { 6 return { 7 restrict: 'EA', 8 scope: {}, 9 controller: 'BuilderCtrl', 10 controllerAs: 'builder', 11 bindToController: true, 12 link: function (scope, element, attrs, ctrl) { 13 element.on('click', function (event) { 14 event.preventDefault(); 15 ctrl.showDialog(); 16 scope.$apply(); 17 }); 18 } 19 }; 20 }]); 21 22 ng.module('builder') 23 .directive('builderStylesheet', ['builderService', 'builderTypes', function (builderService) { 24 return { 25 restrict: 'A', 26 scope: {}, 27 link: function (scope, element, attrs) { 28 builderService.memoryStylesheet(attrs.builderType, element); 29 } 30 }; 31 }]); 32 33})(window.angular);
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.