-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.js
31 lines (29 loc) · 843 Bytes
/
app.js
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
31
require.config({
baseUrl: 'js',
paths: {
'jquery': [
'http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min',
'lib/jquery-2.1.0.min'
],
'_': [
'http://cdnjs.cloudflare.com/ajax/libs/lodash.js/2.4.1/lodash.min',
'lib/lodash.min'
],
'Bacon': 'lib/Bacon',
'Bacon.splitByKey': 'lib/Bacon.splitByKey',
'tpl': 'lib/tpl-custom',
'socket': 'lib/socket',
'sound': 'lib/sound',
'pretty': 'lib/pretty',
'storage': 'lib/storage'
},
shim: {
'Bacon.splitByKey': ['Bacon']
}
});
require(['puotiradiaattori'], function(puotiradiaattori) {
puotiradiaattori();
var isTestEnv = document.location.href.match('runTests') != null
if (isTestEnv)
require(['test/runner'])
})