From da1d04a4d71bcc0f2e95b16a576e1d3dfa48fbc9 Mon Sep 17 00:00:00 2001 From: blavenie <benoit.lavenier@e-is.pro> Date: Thu, 19 Dec 2019 22:26:24 +0100 Subject: [PATCH] [fix] Fix JS Hint error --- www/js/services/crypto-services.js | 2 +- www/plugins/es/js/controllers/message-controllers.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/www/js/services/crypto-services.js b/www/js/services/crypto-services.js index 3ccafea6..75ebb37b 100644 --- a/www/js/services/crypto-services.js +++ b/www/js/services/crypto-services.js @@ -822,7 +822,7 @@ angular.module('cesium.crypto.services', ['cesium.utils.services']) return deferred.promise; }; - function load() { + this.load = function() { var deferred = $q.defer(); if (!window.plugins || !window.plugins.MiniSodium) { deferred.reject("Cordova plugin 'MiniSodium' not found. Please load Full JS implementation instead."); diff --git a/www/plugins/es/js/controllers/message-controllers.js b/www/plugins/es/js/controllers/message-controllers.js index 511f6722..b4b49d29 100644 --- a/www/plugins/es/js/controllers/message-controllers.js +++ b/www/plugins/es/js/controllers/message-controllers.js @@ -809,7 +809,7 @@ function ESMessageViewController($scope, $state, $timeout, $translate, $ionicHis } }, 2000); // 2s } - }) + }); }; $scope.$on('$ionicView.enter', $scope.enter); -- GitLab