Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/undo-ransomware/ransomware_detection.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorMatthias Held <ilovemilk@wusa.io>2018-09-10 23:58:37 +0300
committerMatthias Held <ilovemilk@wusa.io>2018-09-10 23:58:37 +0300
commit722f04af3a186055c9e8f3418615a7215c63f846 (patch)
treebf871db05b93117cea6cda8af4ed977b7539b109 /js
parent7c2ba742257689eba6704240917c1979b5033d12 (diff)
Use CamelCase
Signed-off-by: Matthias Held <matthias.held@uni-konstanz.de>
Diffstat (limited to 'js')
-rw-r--r--js/filelist.js4
-rw-r--r--js/scan.js6
2 files changed, 5 insertions, 5 deletions
diff --git a/js/filelist.js b/js/filelist.js
index 5404ecc..6d45741 100644
--- a/js/filelist.js
+++ b/js/filelist.js
@@ -83,11 +83,11 @@
this.$fileList = {};
$.getJSON(self.getDebugModeUrl, function(debug) {
- if (debug.debug_mode == 1) {
+ if (debug.debugMode == 1) {
self.debug = 1;
}
$.getJSON(self.getColorModeUrl, function(schema) {
- if (schema.color_mode == 1) {
+ if (schema.colorMode == 1) {
Utils.colors = {red: 'color-blind-red', orange: 'color-blind-orange', yellow: 'color-blind-yellow', green: 'color-blind-green'};
Utils.colorsText = {red: 'color-blind-red-text', orange: 'color-blind-orange', yellow: 'color-blind-yellow-text', green: 'color-blind-green-text'};
}
diff --git a/js/scan.js b/js/scan.js
index 19d12e4..ca25e60 100644
--- a/js/scan.js
+++ b/js/scan.js
@@ -82,7 +82,7 @@
this.$fileList = {};
$.getJSON(self.getDebugModeUrl, function(debug) {
- if (debug.debug_mode == 1) {
+ if (debug.debugMode == 1) {
self.debug = 1;
}
$.getJSON(self.filesUrl, function(data) {
@@ -207,7 +207,7 @@
if (self.sequencesToScan.length > 0) {
var count = 0;
$.getJSON(self.getColorModeUrl, function(schema) {
- if (schema.color_mode == 1) {
+ if (schema.colorMode == 1) {
Utils.colors = {red: 'color-blind-red', orange: 'color-blind-orange', yellow: 'color-blind-yellow', green: 'color-blind-green'};
Utils.colorsText = {red: 'color-blind-red-text', orange: 'color-blind-orange', yellow: 'color-blind-yellow-text', green: 'color-blind-green-text'};
}
@@ -222,7 +222,7 @@
$('#scanned').text(count);
if (response.status === "success") {
self.$section[index] = self._createSection(index);
- self.$table[index] = Utils._createTableSkeleton(index, response.suspicion_score);
+ self.$table[index] = Utils._createTableSkeleton(index, response.suspicionScore);
self.$fileList[index] = self.$table[index].find('tbody.file-list');
self.files[index] = [];
$.each(response.sequence, function(i, file) {