/**
 * 异步导入静态资源插件,当页面首屏数据量不达标时,页面不是马上用的静态资源,可以调用改插件异步加载,该插件可以统一管控资源的加载<br>
 *     <strong>
 *          页面需要导入的文件
 *          <ul>
 *              <li>cmp-asyncLoad.js</li>
 *          </ul>
 *      </strong>
 * @module Asyncload
 * @subtitle 资源异步加载
 */

/**
 * 异步加载js,css<br>
 * @class asyncLoad
 * @namespace cmp
 * @type {{}}
 */



/**
 * 异步加载js资源
 * @method js
 * @namespace cmp.asyncLoad
 * @param {Array} jss 需要异步加载的js资源的路径的集合,数组元素接受格式可以直接是路径字符串或对象形式包含id和url字符串
 * @param {Function} callback 所有js加载完成的回调函数
 * @example
 * ```
 * 文件导入路径:
 * M3App端
 *  <script  src="http://cmp/v1.0.0/js/cordova/__CMPSHELL_PLATFORM__/cordova.js"></script>
 *  <script  src="http://cmp/v1.0.0/js/cordova/cordova-plugins.js"></script>
 *  <script  src="http://cmp/v/js/cmp.js"></script>
 *  <script  src="http://cmp/v/js/cmp-asyncLoad"></script>
 *  ===========================================================================================
 *  微协同端:
 *  <script  src="/seeyon/m3/cmp/js/cmp.js"></script>
 *  <script  src="http://cmp/v/js/cmp-asyncLoad"></script>
 *  =========================================================================================
 * <script>
 *     //=====M3端================
 *     cmp.asyncLoad.js(["http://cmp/v/js/cmp-listView.js","http://xxxx.js",{id:"oneJS",url:"http://xxx/oneJS.js"}],
 *     function(){
 *          dosomething
 *     });
 *     //=====微协同端=============
 *     cmp.asyncLoad.js(["/seeyon/m3/cmp/js/cmp-listView.js","http://xxxx.js",{id:"oneJS",url:"http://xxx/oneJS.js"}],
 *     function(){
 *          dosomething
 *     });
 * </script>
 * ```
 */

/**
 * 异步加载css资源
 * @method css
 * @namespace cmp.asyncLoad
 * @param {Array} css 需要异步加载的css资源的路径的集合
 * @example
 * ```
 * 文件导入路径:
 * M3App端
 *  <script  src="http://cmp/v1.0.0/js/cordova/__CMPSHELL_PLATFORM__/cordova.js"></script>
 *  <script  src="http://cmp/v1.0.0/js/cordova/cordova-plugins.js"></script>
 *  <script  src="http://cmp/v/js/cmp.js"></script>
 *  <script  src="http://cmp/v/js/cmp-asyncLoad"></script>
 *  ===========================================================================================
 *  微协同端:
 *  <script  src="/seeyon/m3/cmp/js/cmp.js"></script>
 *  <script  src="http://cmp/v/js/cmp-asyncLoad"></script>
 *  =========================================================================================
 * <script>
 *     cmp.asyncLoad.css(["../../sources/js/cmp-listView.css","http://xxxx.css"]);
 * </script>
 * ```
 */
    
Top