/* Use script.js to put any script you use to invoke plugins or third-party tools. 
   This way, it will be cached and does not need to be added to the page load.  */

$(document).ready(function () { 
   /*********************************************************************************************************************
   * INITIALISATION
   * Define some sets of params
   * Init the global param for the plugin
   ********************************************************************************************************************/

    // Params example 1
    var params1 = {
        loaderClass: "loading_bar_1",
        debug: true,
        speed: 'fast'
    };

    // Params example 2
    var params2 = {
        loaderClass: "loading_bar_body",
        debug: true,
        speed: 700,
        needRelativeParent: false
    };

    // Overwrite the default params : nimbleLoader will use param1 as default params
    $.fn.nimbleLoader.setSettings(params1);
});
