phodal/freerice

View on GitHub
web/main.js

Summary

Maintainability
A
0 mins
Test Coverage
require.config({
    baseUrl: '/',
    paths: {
        'text': 'lib/text/text',
        jquery: 'lib/jquery/dist/jquery.min',
        json: 'lib/require/json',
        router: 'router',
        underscore: 'lib/underscore/underscore',
        mustache: 'lib/mustache/mustache',
        backbone: 'lib/backbone/backbone',
        "jquery-cookie": "lib/jquery.cookie/jquery.cookie",
        "config": 'config'
    },
    shim: {
        "jquery-cookie": ["jquery"],
        underscore: {
            exports: '_'
        }
    }
});

require(['app'], function(App){
    "use strict";
    App.initialize();
});