From ba2a5ba57c2d0f0c8abc080c3c6aacd2835770c2 Mon Sep 17 00:00:00 2001 From: Alexander Moisseev Date: Tue, 3 Jul 2018 12:13:39 +0300 Subject: [Minor] JS: Use double quotes wherever possible --- interface/js/main.js | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'interface/js/main.js') diff --git a/interface/js/main.js b/interface/js/main.js index 76ceec468..60f16ae14 100644 --- a/interface/js/main.js +++ b/interface/js/main.js @@ -1,23 +1,23 @@ requirejs.config({ - baseUrl: 'js/lib', + baseUrl: "js/lib", paths: { - app: '../app', - jquery: 'jquery-3.3.1.min', - visibility: 'visibility.min', - humanize: 'humanize.min', - bootstrap: 'bootstrap.min', - d3: 'd3.min', - d3evolution: 'd3evolution.min', - d3pie: 'd3pie.min', - footable: 'footable.min', - bootstrap: 'bootstrap.min', + app: "../app", + jquery: "jquery-3.3.1.min", + visibility: "visibility.min", + humanize: "humanize.min", + bootstrap: "bootstrap.min", + d3: "d3.min", + d3evolution: "d3evolution.min", + d3pie: "d3pie.min", + footable: "footable.min", + bootstrap: "bootstrap.min", }, shim: { - d3: {exports: 'd3'}, - bootstrap: {exports: 'bootstrap', deps: ['jquery']}, - d3pie: {exports: 'd3pie', deps: ['d3.global', 'jquery']}, - d3evolution: {exports: 'D3Evolution', deps: ['d3', 'd3pie', 'jquery']}, - footable: {deps: ['bootstrap', 'jquery']} + d3: {exports: "d3"}, + bootstrap: {exports: "bootstrap", deps: ["jquery"]}, + d3pie: {exports: "d3pie", deps: ["d3.global", "jquery"]}, + d3evolution: {exports: "D3Evolution", deps: ["d3", "d3pie", "jquery"]}, + footable: {deps: ["bootstrap", "jquery"]} } }); @@ -31,10 +31,10 @@ define("d3.global", ["d3"], function(_) { }); // Load main UI -require(['domReady'], +require(["domReady"], function(domReady) { domReady(function () { - require(['jquery', 'd3', 'app/rspamd'], + require(["jquery", "d3", "app/rspamd"], function ($, d3, rspamd) { rspamd.setup(); rspamd.connect(); -- cgit v1.2.3