diff --git a/js/apps/system/aardvark/frontend/js/collections/arangoQueries.js b/js/apps/system/aardvark/frontend/js/collections/arangoQueries.js index 5f9ed4c5e5..f598c6cab3 100644 --- a/js/apps/system/aardvark/frontend/js/collections/arangoQueries.js +++ b/js/apps/system/aardvark/frontend/js/collections/arangoQueries.js @@ -1,5 +1,5 @@ /*jslint indent: 2, nomen: true, maxlen: 100, vars: true, white: true, plusplus: true, stupid: true*/ -/*global require, exports, Backbone, window, arangoCollectionModel, $, arangoHelper, data, _ */ +/*global require, exports, Backbone, window, ArangoQuery, $, data, _ */ (function() { "use strict"; @@ -8,7 +8,6 @@ initialize: function(models, options) { this.fetch(); - options || (options = {}); if (options.activeUser) { this.activeUser = options.activeUser; } diff --git a/js/apps/system/aardvark/frontend/js/routers/router.js b/js/apps/system/aardvark/frontend/js/routers/router.js index 47f25d418c..58448f5174 100644 --- a/js/apps/system/aardvark/frontend/js/routers/router.js +++ b/js/apps/system/aardvark/frontend/js/routers/router.js @@ -86,7 +86,6 @@ userCollection: this.userCollection }); - console.log(this.userCollection.activeUser); this.queryCollection = new window.ArangoQueries([],{ activeUser: self.userCollection.activeUser }); diff --git a/js/apps/system/aardvark/frontend/js/views/queryView.js b/js/apps/system/aardvark/frontend/js/views/queryView.js index 03549a83d8..25af0c8f79 100644 --- a/js/apps/system/aardvark/frontend/js/views/queryView.js +++ b/js/apps/system/aardvark/frontend/js/views/queryView.js @@ -284,13 +284,6 @@ importCustomQueries: function () { var result; if (this.allowUpload === true) { - console.log(this.file.valueOf()); - console.log(this.file); - console.log(this.files); - - $.getJSON(this.file, function(json) { - console.log(json); - }); } }, diff --git a/js/apps/system/aardvark/test/karma/files.json b/js/apps/system/aardvark/test/karma/files.json index 769516630b..d9cc0b3153 100755 --- a/js/apps/system/aardvark/test/karma/files.json +++ b/js/apps/system/aardvark/test/karma/files.json @@ -106,6 +106,7 @@ "frontend/js/models/foxx.js", "frontend/js/models/graph.js", "frontend/js/models/notification.js", + "frontend/js/models/arangoQuery.js", "clusterFrontend/js/models/clusterServer.js", "clusterFrontend/js/models/clusterCoordinator.js", "clusterFrontend/js/models/clusterDatabase.js", @@ -129,6 +130,7 @@ "frontend/js/collections/foxxCollection.js", "frontend/js/collections/graphCollection.js", "frontend/js/collections/notificationCollection.js", + "frontend/js/collections/arangoQueries.js", "clusterFrontend/js/collections/clusterServers.js", "clusterFrontend/js/collections/clusterCoordinators.js", "clusterFrontend/js/collections/clusterDatabases.js",