mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-05-01 12:44:33 +02:00
fixed typos
Former-commit-id: 417db699c81a6b9144b6f5dd8e99ab52805e0257
This commit is contained in:
@@ -23,7 +23,7 @@ data.password=DC-Pass1337!
|
||||
# is not in the current classpath. Setting these properties will add the give path(s) to
|
||||
# the class loader and then register the driver with the DriverManager. If the class is
|
||||
# not in the path you must specify both the driver name (aka the fully qualified driver name)
|
||||
# and the driver path. The driver path can be a semi-colon seperated list of files/directories
|
||||
# and the driver path. The driver path can be a semi-colon separated list of files/directories
|
||||
# to ensure any and all needed files can be added to the classpath to load the driver.
|
||||
# For non-JDBC4 drivers in the classpath only the driver_name needs to be set.
|
||||
# For MOST situations these properties likely do not need to be set.
|
||||
|
||||
@@ -39,8 +39,8 @@ Copyright (c) 2013 Jeremy Long. All Rights Reserved.
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
var table = $("#vulnTable").stupidtable({
|
||||
"severity":function(a,b){
|
||||
var pattern = "([\\d.]+)";
|
||||
'severity':function(a,b){
|
||||
var pattern = '([\\d.]+)';
|
||||
var re = new RegExp(pattern);
|
||||
var aNum = re.exec(a).slice(1);
|
||||
var bNum = re.exec(b).slice(1);
|
||||
@@ -48,27 +48,26 @@ Copyright (c) 2013 Jeremy Long. All Rights Reserved.
|
||||
}
|
||||
});
|
||||
table.bind('aftertablesort', function (event, data) {
|
||||
var th = $(this).find("th");
|
||||
var th = $(this).find('th');
|
||||
th.find(".arrow").remove();
|
||||
var arrow = data.direction === "asc" ? "↑" : "↓";
|
||||
var arrow = data.direction === 'asc' ? '↑' : '↓';
|
||||
th.eq(data.column).append('<span class="arrow">' + arrow +'</span>');
|
||||
});
|
||||
$("th.severity").click();
|
||||
$(".expandable").click(function (e) {
|
||||
$('th.severity').click();
|
||||
$('.expandable').click(function (e) {
|
||||
e = e || window.event;
|
||||
var h = e.target || e.srcElement;
|
||||
var content = "#content" + h.id.substr(6);
|
||||
var header = "#" + h.id;
|
||||
$(content).slideToggle("fast");
|
||||
var content = '#content' + h.id.substr(6);
|
||||
var header = '#' + h.id;
|
||||
$(content).slideToggle('fast');
|
||||
var exprx = /expandedList/;
|
||||
if (exprx.exec($(header).attr("class"))) {
|
||||
$(header).addClass("collapsedList");
|
||||
$(header).removeClass("expandedList");
|
||||
if (exprx.exec($(header).attr('class'))) {
|
||||
$(header).addClass('collapsedList');
|
||||
$(header).removeClass('expandedList');
|
||||
} else {
|
||||
$(header).addClass("expandedList");
|
||||
$(header).removeClass("collapsedList");
|
||||
$(header).addClass('expandedList');
|
||||
$(header).removeClass('collapsedList');
|
||||
}
|
||||
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user