{"size": 1852, "ext": "js", "max_stars_repo_path": "src/js/uc-config.js", "max_stars_repo_name": "zhuwencheng/pc-xubei", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/js/uc-config.js", "max_issues_repo_name": "zhuwencheng/pc-xubei", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/js/uc-config.js", "max_forks_repo_name": "zhuwencheng/pc-xubei", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 24.3684210526, "max_line_length": 97, "alphanum_fraction": 0.4622030238}
/**
 * Created by Administrator on 2017/5/16.
 */
var config = {
    baseUrl: '../', //依赖相对路径
    paths: {	//如果某个前缀的依赖不是按照baseUrl拼接这么简单，需要在这里指出
        jquery: 'js-site/jquery-1.11.3',
        handlebars: 'js-site/handlebars-v3.0.3',
        backbone: 'js-site/backbone-min',
        text: 'js-site/text',  //用于requirejs导入html类型的依赖
        homeToll:'js-site/home-tool',
        imgScroll:'js-site/fullImgSroll',
        pager:'js-site/hx-pager',
        layer:'js-site/layer/layer',
        calendar:'js-site/calendar',
        charts:'js-site/charts',
        tools:'js-site/tool',
        cookie:'js-site/jquery.cookie'
    },
    map: {
        '*': {
            'css': 'js-site/css'
        }
    },
    shim: { //引入没有使用requirejs模块写法的类库。backbone依赖underscore
        'underscore': {
            exports: '_'
        },
        'jquery': {
            exports: '$'
        },
        'homeToll': {
            deps: ['jquery']
        },
        'imgScroll': {
            deps: ['jquery']
        },
        'pager': {
            deps: ['jquery']
        },
        'layer':{
            deps: ['jquery']
        },
        'calendar':{
            deps: ['jquery']
        },
        'charts':{
            deps: ['jquery']
        },
        'tools':{
            deps: ['jquery']
        },
        'cookie':{
            deps: ['jquery']
        }
        /*,
         'backbone': {
         deps: ['underscore', 'jquery'],
         exports: 'Backbone'
         }*/

    }
};
require.config(config);
require(['js-site/renderBasicComponent','js-site/renderUCsiderbar'],function(main,ucsidebarmain){
    var callbackFun=function(){
        $('#to-top').on('click',function(e){
            $('html').animate({ scrollTop: '0px' }, 'easein');
            e.preventDefault();
        });//回到顶部
    }
    main(callbackFun);
    ucsidebarmain();
});

