From 8f00eb19b47b772b0523bb6eca74608fdfc731a0 Mon Sep 17 00:00:00 2001 From: Findeton Date: Mon, 9 Oct 2023 12:50:53 -0500 Subject: [PATCH] wip --- avUi/checker-service.js | 2 +- dist/appCommon-v10.0.0.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/avUi/checker-service.js b/avUi/checker-service.js index 3b5f1c96..5c8fedf6 100644 --- a/avUi/checker-service.js +++ b/avUi/checker-service.js @@ -68,7 +68,7 @@ }); */ angular.module('avUi') - .service('CheckerService', function() { + .service('CheckerService', function($filter) { function checker(d) { /* diff --git a/dist/appCommon-v10.0.0.js b/dist/appCommon-v10.0.0.js index ff2975a9..487a1163 100644 --- a/dist/appCommon-v10.0.0.js +++ b/dist/appCommon-v10.0.0.js @@ -1401,7 +1401,7 @@ angular.module("avRegistration").config(function() {}), angular.module("avRegist return "over-valid-votes" === (over = null == over ? question.answer_total_votes_percentage : over) || "over-total-valid-votes" === over ? base = question.totals.valid_votes : "over-total-valid-points" === over && void 0 !== question.totals.valid_points && (base = question.totals.valid_points), print(100 * total_votes / base); }; -}), angular.module("avUi").service("CheckerService", function() { +}), angular.module("avUi").service("CheckerService", [ "$filter", function($filter) { function checker(d) { function evalValue(code, $value) { return angular.isString(code) ? eval(code) : code; @@ -1515,7 +1515,7 @@ angular.module("avRegistration").config(function() {}), angular.module("avRegist return ret; } return checker; -}), angular.module("avUi").factory("ElectionCreation", function() { +} ]), angular.module("avUi").factory("ElectionCreation", function() { var service = { generateAuthapiRequest: function(el) { el.census.config.subject && !_.contains([ "email", "email-otp" ], el.census.auth_method) && delete el.census.config.subject;