summaryrefslogtreecommitdiffstats
path: root/public_html/data/js/main.js
blob: 3ba5c5c76463f376e0aa3c97b0c1d6d4b763e4ca (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
29
30
(function () {
'use strict';
requirejs.config({
	shim: {
		'jquery-ui': ['jquery'],
		'bootstrap': ['jquery'],
		'jquery.tablesorter': ['jquery'],
		'jquery.lazyload': ['jquery'],
		'jquery.colorbox': ['jquery'],
		'jquery.checkboxes': ['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',
		'jquery.checkboxes': 'vendor/jquery.checkboxes-1.0.6.min.js',
		'underscore': 'vendor/underscore'
	}
});

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