Showing 2 of 5 total issues
Function hoverpulse
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.hoverpulse = function(options) {
// in 1.3+ we can fix mistakes with the ready state
if (this.length == 0) {
if (!$.isReady && this.selector) {
var s = this.selector, c = this.context;
Function initialize
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function initialize() {
$('.map').click(function() {
var widget = $(this).closest("[class^='widget']").find('#map-canvas').get(0);
$(widget).show();