PageSourceSearch

https://www.dpdparcelwizard.ie/DesktopModules/Inventise.DPD/spa/co…/directives/compareTo.directive.js?cdv=177

js dpdparcelwizard.ie collected 2026-10-02 15:37:56 UTC 703 bytes, 27 lines download raw bytes

1(function () {
2    'use strict';
3
4    angular.module("pwa.directives")
5        .directive('compareTo', compareTo);
6
7	// compareTo.$inject =[];
8    function compareTo() {
9        return {
10            require: "ngModel",
11            scope: {
12                otherModelValue: "=compareTo"
13            },
14            link: function(scope, element, attributes, ngModel) {
15                
16                ngModel.$validators.compareTo = function(modelValue) {
17                    return modelValue == scope.otherModelValue;
18                };
19    
20                scope.$watch("otherModelValue", function() {
21                    ngModel.$validate();
22                });
23            }
24        };
25    };
26
27})();

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.