Showing 2 of 2 total issues
Function parseResponse
has 83 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function parseResponse(xmlResponse) {
// get the contents from search data
var datas = $('entry', xmlResponse).map(function() {
return {
title: $('title', this).text(),
Avoid too many return
statements within this function. Open
Open
return '';