From 0cd25c35bd4260119e0e4dd95e36692aab4d202c Mon Sep 17 00:00:00 2001 From: blavenie <benoit.lavenier@e-is.pro> Date: Thu, 29 Sep 2016 18:29:44 +0200 Subject: [PATCH] fix JS hint --- www/js/config.js | 20 ++++++++++---------- www/js/controllers/help-controllers.js | 4 ++-- www/js/services/bma-services.js | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/www/js/config.js b/www/js/config.js index 0c949df79..3bff38dd4 100644 --- a/www/js/config.js +++ b/www/js/config.js @@ -9,27 +9,27 @@ angular.module("cesium.config", []) .constant("csConfig", { - "timeout": 6000, + "timeout": 4000, "cacheTimeMs": 60000, "useRelative": true, "timeWarningExpireMembership": 5184000, "timeWarningExpire": 7776000, - "useLocalStorage": true, - "rememberMe": true, + "useLocalStorage": false, + "rememberMe": false, "showUDHistory": false, "node": { - "host": "192.168.0.28", - "port": "9600" + "host": "test-net.duniter.fr", + "port": "9201" }, "plugins": { "es": { - "enable": false, - "host": "192.168.0.28", - "port": "9203" + "enable": true, + "host": "data.duniter.fr", + "port": "80" } }, - "version": "0.3.6", - "build": "2016-09-29T14:37:01.038Z", + "version": "0.3.7", + "build": "2016-09-29T16:28:41.193Z", "newIssueUrl": "https://github.com/duniter/cesium/issues/new?labels=bug" }) diff --git a/www/js/controllers/help-controllers.js b/www/js/controllers/help-controllers.js index 5b27d4cc7..34dbe8446 100644 --- a/www/js/controllers/help-controllers.js +++ b/www/js/controllers/help-controllers.js @@ -45,7 +45,7 @@ function HelpController($scope, $state, $timeout, $anchorScroll, csSettings) { $scope.locale = csSettings.data.locale.id; if ($state.stateParams && $state.stateParams.anchor) { $timeout(function () { - $anchorScroll($state.stateParams.anchor) + $anchorScroll($state.stateParams.anchor); }, 100); } }); @@ -58,7 +58,7 @@ function HelpModalController($scope, $timeout, $anchorScroll, csSettings, parame if (parameters && parameters.anchor) { $timeout(function() { - $anchorScroll(parameters.anchor) + $anchorScroll(parameters.anchor); }, 100); } } diff --git a/www/js/services/bma-services.js b/www/js/services/bma-services.js index d195efe9f..63a23d569 100644 --- a/www/js/services/bma-services.js +++ b/www/js/services/bma-services.js @@ -30,7 +30,7 @@ angular.module('cesium.bma.services', ['ngResource', 'cesium.http.services', 'ce }, constants = { ROOT_BLOCK_HASH: 'E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855' - } + }, server = csHttp.getServer(host, port); function exact(regexpContent) { -- GitLab