Support » Plugins and Hacks » Lazy Widget Loader » Minify the Javascript please

Minify the Javascript please

  • Hi there, in a next release, could you please minify the javascript you are using?

    Minifying http://www…/…/lazy-widget-loader.js?… could save 354B (60% reduction) after compression.

    I compressed it to this:

    jQuery(window).load(function(){jQuery.each(jQuery(".lwl-widget"),function(){var e=this.id.replace("lwl-widget-","");var t=document.getElementById("lwl-container-"+e);if(typeof t!="undefined"){var n=t.parentNode;if(typeof n!="undefined"){n.replaceChild(this,t)}}});jQuery("#lwl-widget-contents").remove()})

    Thanks for that!
    Great plugin by the way, just love how it sped up my sites!


  • The topic ‘Minify the Javascript please’ is closed to new replies.
Skip to toolbar