no consol debugs
This commit is contained in:
parent
fc79f7348c
commit
0c47c22556
@ -11,7 +11,7 @@ $(document).ready(function(){
|
|||||||
$('#loading').show()
|
$('#loading').show()
|
||||||
$.get('/search?'+ args, function(data) {
|
$.get('/search?'+ args, function(data) {
|
||||||
$('#loading').hide()
|
$('#loading').hide()
|
||||||
console.log(data);
|
// console.log(data);
|
||||||
// $('#graph').empty();
|
// $('#graph').empty();
|
||||||
// $('#results').empty();
|
// $('#results').empty();
|
||||||
$.each(data.result, function(i, item) {
|
$.each(data.result, function(i, item) {
|
||||||
@ -36,8 +36,6 @@ function search_result_archive(a) {
|
|||||||
}).appendTo('#' + a.archive);
|
}).appendTo('#' + a.archive);
|
||||||
let hits = "<ul>";
|
let hits = "<ul>";
|
||||||
|
|
||||||
console.log("---")
|
|
||||||
|
|
||||||
$.each(r.hits, function(j, h){
|
$.each(r.hits, function(j, h){
|
||||||
|
|
||||||
console.log(h)
|
console.log(h)
|
||||||
@ -47,9 +45,6 @@ function search_result_archive(a) {
|
|||||||
});
|
});
|
||||||
hits += "</ul>";
|
hits += "</ul>";
|
||||||
$('#' + r.thread + "-" + a.archive).append(hits);
|
$('#' + r.thread + "-" + a.archive).append(hits);
|
||||||
|
|
||||||
console.log("***");
|
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -72,7 +67,6 @@ function format(date) {
|
|||||||
"Nov", "Dec"
|
"Nov", "Dec"
|
||||||
];
|
];
|
||||||
return month_names[date.getMonth()] + ' ' + date.getFullYear();
|
return month_names[date.getMonth()] + ' ' + date.getFullYear();
|
||||||
//return date.getMonth() + ' - ' + date.getFullYear();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -90,17 +84,6 @@ function graph(data) {
|
|||||||
vec.push(ar_vec);
|
vec.push(ar_vec);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// var x_axis = new Array(d + 1);
|
|
||||||
// x_axis[0] = 'x';
|
|
||||||
// for (let i = 1; i < d+1; i++) {
|
|
||||||
// let d = new Date(min_month.getFullYear(), min_month.getMonth());
|
|
||||||
// d.setMonth(d.getMonth() + (i - 1));
|
|
||||||
// x_axis[i] = format(d);
|
|
||||||
// }
|
|
||||||
|
|
||||||
// vec.push(x_axis);
|
|
||||||
|
|
||||||
var x_axis = new Array(d);
|
var x_axis = new Array(d);
|
||||||
for (let i = 0; i < d; i++) {
|
for (let i = 0; i < d; i++) {
|
||||||
let d = new Date(min_month.getFullYear(), min_month.getMonth());
|
let d = new Date(min_month.getFullYear(), min_month.getMonth());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user