How to prevent jQuery functions from not running if a preceding function fails?
<p>I'm having an issue with jQuery functions not running if a preceding function failed for example:</p>

<pre><code>jQuery(function($) {
    // this function failed to run because the dependency file wasn't loaded
});


jQuery(function($) {
    // fails to run unless all preceding function succeed
});


jQuery(function($) {
    // fails to run unless all preceding function succeed
});
</code></pre>

<p>I'm doing this because they're all small chunks of code, each one for a jquery plugin used on my site so one for a slider another one for a drop down menu ..., for example if a page without a slider I'm not loading the slider plugin so all everything after the slider function fails to run.</p>

<p>so what should I do so jquery ignores failing function ?</p>

<p>and thanks in advance. </p>
