(function() {
	"use strict";
	require.config(
		{
			baseUrl: 'scripts',
			deps: [
                //'libs/vle/vleapi.1',
				'modules/polyfill'
			],
			paths: {
				/* modules */
				"buttons": "modules/buttons",
				"input": "modules/input",
                "inline": "modules/inline",
                "inline_data": "../data/inline/inline_data",
				"saver": "modules/saver",
				"table": "modules/table",
				"table-input": "modules/table-input",
				"table-extend": "modules/table-extend",
				"table-save": "modules/table-save",
				"table-data": "../data/table/table_data",
				"table-config": "modules/table_config",
				"utils": "modules/utils",
				"feedback": "modules/feedback",
                "dnd": "modules/dnd",
                "dnd-data": "../data/dnd/dnd_data",
                "loader": "modules/loader",
                "spinner": "modules/spinner",
                /*3rd party*/
                'jquery': 'libs/jquery/jquery.min',
                'jquery_ui': 'libs/jquery/jquery-ui.min',
                'touch_punch': 'libs/jquery/jquery.ui.touch-punch.min',
                'vle': '../vleapi.1'
            },
            shim: {
                'jquery_ui': {
                    deps: ['jquery']
                },
                'touch_punch': {
                    deps: ['jquery']
                },
                'vle': {
                    exports: 'VLE'
                }
            }
		});
})();