myblog/myapp/static/zinnia/js/foundation/foundation.interchange.js
File foundation.interchange.js
has 255 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
;(function ($, window, document, undefined) {
'use strict';
Foundation.libs.interchange = {
name : 'interchange',
Avoid too many return
statements within this function. Open
Open
return $.get(path, function (response) {
el.html(response);
el.data(self.data_attr + '-last-path', path);
trigger();
});