PageSourceSearch

https://xn--80akjfhmgn4l.market/scripts/_partials/builder/directives/builderDirectives.js

js xn--80akjfhmgn4l.market collected 2026-10-09 21:30:43 UTC 1,009 bytes, 33 lines download raw bytes

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.