User:Proteins/quickdiffs.js: Difference between revisions

Content deleted Content added
Proteins (talk | contribs)
m missing single quote
Proteins (talk | contribs)
fill in code preceding main loop
Line 7:
 
var body_content;
 
var article_tables;
var num_diff_tables = 0temp_article_table;
var num_article_tables = 0;
var article_table_index = 0;
 
var diff_table;
var diff_table_rownum_diff_tables = 0;
 
var diff_table_body;
var diff_table_bodies;
var num_diff_table_bodies = 0;
 
var diff_table_rows;
var table_row_index= 0;
var temp_diff_table_row;
var num_diff_table_rows = 0;
 
var diff_old_version_info; //className = "diff-otitle"
Line 67 ⟶ 79:
num_diff_tables = 0;
for (article_table_index=0; article_table_index<num_article_tables; article_table_index++) {
temp_article_table = article_tables[article_table_index];
if (!temp_article_table) { continue; }
 
if (temp_article_table.className == "diff") {
 
num_diff_tables++;
diff_table = temp_article_table;
}
} // closes loop searching for the diff table
if (num_diff_tables == 0) {