Template:PeakCountPerSample: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
var content = "</html>{{{1}}}<html>"; | var content = "</html>{{{1}}}<html>"; | ||
var delimiter = "</html>{{{2}}}<html>"; | var delimiter = "</html>{{{2}}}<html>"; | ||
var delimiter_internal = "</html>{{{3}}}<html>"; | |||
var content_array = content.split(delimiter); | var content_array = content.split(delimiter); | ||
Line 18: | Line 19: | ||
for(var i=0, l=content_array.length; i<l; i++){ | for(var i=0, l=content_array.length; i<l; i++){ | ||
var tmp_array = content_array[i].split( | var tmp_array = content_array[i].split(delimiter_internal); | ||
var tmp2= categories_extended_array[i]; | var tmp2= categories_extended_array[i]; | ||
ids.push(tmp_array[0]); | ids.push(tmp_array[0]); |
Revision as of 16:14, 18 September 2013