1/* 2 * Initialize Admin Panel Application Variable 3 */ 4 5 6if (typeof load_intel_js!== "undefined" && load_intel_js==1) { 7 var adminallinone=angular.module("adminallinone", ["ngRoute" ,"ai.grid", 'ngIntlTelInput']); 8} else { 9 var adminallinone=angular.module("adminallinone", ["ngRoute" ,"ai.grid"]); 10} 11 12 13var compareTo = function () { 14 return { 15 require: "ngModel", 16 scope: { 17 otherModelValue: "=compareTo" 18 }, 19 link: function (scope, element, attributes, ngModel) { 20 ngModel.$validators.compareTo = function (modelValue) { 21 return modelValue == scope.otherModelValue; 22 }; 23 24 scope.$watch("otherModelValue", function () { 25 ngModel.$validate(); 26 }); 27 } 28 }; 29}; 30 31adminallinone.directive("compareTo", compareTo); 32
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.