summaryrefslogtreecommitdiffstats
path: root/data/js/main.js
blob: 5710dcb68a06eb6fc86bd7bd40dc64c5fc0b365e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
(function () {
'use strict';
requirejs.config({
	shim: {
		'jquery-ui': ['jquery'],
		'bootstrap': ['jquery'],
		'jquery.tablesorter': ['jquery'],
		'jquery.lazyload': ['jquery'],
		'jquery.colorbox': ['jquery']
	},
	paths: {
		'jquery': 'vendor/jquery-2.0.3.min',
		'jquery-ui': 'vendor/jquery-ui-1.10.3.custom.min',
		'bootstrap': 'vendor/bootstrap.min',
		'jquery.tablesorter': 'vendor/jquery.tablesorter.min',
		'jquery.lazyload': 'vendor/jquery.lazyload',
		'jquery.colorbox': 'vendor/jquery.colorbox',
		'underscore': 'vendor/underscore'
	}
});

require(['application', 'jquery'], function (App, $) {
	App.initialize();
	$(document).ready(function () {
		App.onPageLoaded();
	});
});
})();