Server breaking javascript file
<p>Ok, this is really strange. I am not js proffesional so debugging this took me almost 2 hours.What happend is that I am styling one custom cms with this theme:</p>

<p><a href="http://templates.tricyclelabs.com/adminica/login.php" rel="nofollow">http://templates.tricyclelabs.com/adminica/login.php</a></p>

<p>After Ive finished with it, everything worked well on localhost.After uploading it to server, that IPhone slider didnt work. After debugging I saw that my server is breaking javascript file, everything is in one line which means if you use "//" everyting will be commented:</p>

<pre><code>$(function() {  // Form inputs
    $("fieldset &gt; div &gt; input[type=text]").addClass("text");        
    $("fieldset &gt; div &gt; input[type=password]").addClass("text");
    $("fieldset &gt; div &gt; textarea").addClass("textarea");
    $("fieldset &gt; div &gt; input[type=checkbox]").addClass("checkbox");
    $("fieldset &gt; div &gt; input[type=radio]").addClass("radio");
    $("fieldset &gt; div &gt; input[type=checkbox].indeterminate").prop("indeterminate", true);                   
// Textxarea Autogrow
    $('textarea.autogrow').autoGrow();              
// Dismiss alert box
    $(".alert.dismissible").click(function(){               
        $(this).animate({opacity:0},'slow',function(){              
            $(this).slideUp();
        });
    });         
// Input Datepicker Config                
    $( ".datepicker" ).datepicker({ dateFormat: 'd M yy' });;
// input Slider Config
    function slideMarkers(event,ui){                                      
        var totalLabels = $(this).children().children().size();         
        $(this).children("ol.slider_labels").children("li").css({               
        "margin-right":(100/(totalLabels-1))+"%"
        });
    }
    $( ".slider" ).slider({ 
</code></pre>

<p>You can see file here:</p>

<p><a href="http://putuj.org/frog/admin/javascripts/adminica_forms.js" rel="nofollow">breaked javascript</a></p>

<p>The fix was to uplaod that file to my other host. Who reads it very clean,spacing enters etc...
<a href="http://dnslaktasi.com/adminica_forms.js" rel="nofollow">working version</a></p>

<p>So my question is, does anyone know how this happend? That my first host which is siteground.com was breaking my javascript file, and other one didnt?</p>

<p>Its really frustrating, especily when you lose 2 hours on this.</p>
