From 35c00ce5929c85a6bc11cffa31bbf81ca564f2fa Mon Sep 17 00:00:00 2001 From: Jan Steemann Date: Fri, 21 Feb 2014 09:07:22 +0100 Subject: [PATCH] jslint ist unser freund --- js/apps/system/aardvark/frontend/js/views/collectionsView.js | 2 -- js/common/modules/org/arangodb/statistics.js | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/apps/system/aardvark/frontend/js/views/collectionsView.js b/js/apps/system/aardvark/frontend/js/views/collectionsView.js index c6abe68978..a77f20fd8c 100644 --- a/js/apps/system/aardvark/frontend/js/views/collectionsView.js +++ b/js/apps/system/aardvark/frontend/js/views/collectionsView.js @@ -188,7 +188,6 @@ }, resetSearch: function () { - console.log("resetSearch"); if (this.searchTimeout) { clearTimeout(this.searchTimeout); this.searchTimeout = null; @@ -200,7 +199,6 @@ restrictToSearchPhraseKey: function (e) { this.currentSearchString = - console.log("restrictToSearchPhraseKey"); // key pressed in search box var self = this; diff --git a/js/common/modules/org/arangodb/statistics.js b/js/common/modules/org/arangodb/statistics.js index 74fddbd39a..743240d6ab 100644 --- a/js/common/modules/org/arangodb/statistics.js +++ b/js/common/modules/org/arangodb/statistics.js @@ -43,6 +43,8 @@ var internal = require("internal"); //////////////////////////////////////////////////////////////////////////////// exports.historian = function (param) { + "use strict"; + try { var result = {};