/modules/CP_episode.js
unique:
for (var k = 0, num3 = result.movies.length; k < num3; k++) {
for (var l = 0, num4 = sort_result.length; l < num4; l++) {
if (parseInt(sort_result[l].kp_id) === parseInt(result.movies[k].kp_id) &&
modules.episode.data.index.count > k) {
sort_result[l] = result.movies[k];
continue unique;
}
}
if (modules.episode.data.index.count > k) {
sort_result.push(result.movies[k]);
}
}
/modules/CP_episode.js
unique:
for (var k = 0, num3 = result.movies.length; k < num3; k++) {
for (var l = 0, num4 = sort_result.length; l < num4; l++) {
if (parseInt(sort_result[l].kp_id) === parseInt(result.movies[k].kp_id) &&
modules.episode.data.index.count > k) {
sort_result[l] = result.movies[k];
continue unique;
}
}
if (modules.episode.data.index.count > k) {
sort_result.push(result.movies[k]);
}
}