requirejs.config({
	baseUrl: 'js/',
	paths: {
		'templates': 'templates/',
		'riews': 'views/',
		'router': 'router/',

		//libs
		'jquery': 'jquery.min',
		'nouislider': 'jquery.nouislider.min',
		'underscore': 'undescore-min',
		'backbone': 'backbone-min'
	},

	shim: {
		'backbone': {
			deps: ['underscore', 'jquery'],
			exports: 'Backbone'
		},

		'underscore': {
			exports: '_'
		},

		'jquery.nouislider': {
			deps: ['jquery'],
			exports: 'jQuery.fn.nouislider'
		}
	}
});

