function parseArrayToList (arr, url, ext) {
                    var ul = '<ul>';
                    ul += arr.map(function (item) {
                        var content = otUpperCaseFirstFilter(item.term_in_paper);
                        return '<li>'
                                + content + '<span style="display:none">, </span>'
                                + '</li>';
                    }).join('');
                    ul += '</ul>';
                    return ul;
                }
/*
                 * Parse an array of 'effects' (e.g. agonism_activation_effects) into an html list.
                 * Specify the base url for links and whether the link is external.
                 */
Parse an array of 'effects'  into an html list.
Specify the base url for links and whether the link is external.
Parse an array of ' effects ' into an html list . Specify the base url for links and whether the link is external .
function parseArrayToList (arr, url, ext) {
                    var ul = '<ul>';
                    ul += arr.map(function (item) {
                        var content = otUpperCaseFirstFilter(item.term_in_paper);
                        return '<li>'
                                + content + '<span style="display:none">, </span>'
                                + '</li>';
                    }).join('');
                    ul += '</ul>';
                    return ul;
                }
function parseArrayToList ( arr , url , ext ) { var ul = '<ul>' ; ul += arr . map ( function ( item ) { var content = otUpperCaseFirstFilter ( item . term_in_paper ) ; return '<li>' + content + '<span style="display:none">, </span>' + '</li>' ; } ) . join ( '' ) ; ul += '</ul>' ; return ul ; }
Parse an array of 'effects' (e.g.
Parse an array of ' effects ' ( e . g .