-
Notifications
You must be signed in to change notification settings - Fork 1
/
ui.js
executable file
·51 lines (42 loc) · 1.34 KB
/
ui.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/**********************************************************************
*
*
*
**********************************************************************/
var requirejs_cfg = {
paths: {
'lib/object': [
'./node_modules/ig-object/object',
'./lib/object',
],
'lib/actions': [
'./node_modules/ig-actions/actions',
'./lib/actions',
],
'lib/features': [
'./node_modules/ig-features/features',
'./lib/features',
],
//'lib/keyboard': './node_modules/ig-keyboard/keyboard',
},
map: {
'*': {
// back-refs
// ...these enable the npm modules reference each other in
// a cross-platform manner....
'ig-object': 'lib/object',
'ig-actions': 'lib/actions',
'ig-features': 'lib/features',
//'ig-keyboard': 'lib/keyboard',
},
},
}
// config the browser version of requirejs...
requirejs.config(requirejs_cfg)
;/********************************************************************/
((typeof define)[0]=='u'?function(f){module.exports=f(require)}:define)
(function(require){ var module={} // make module AMD/node compatible...
/*********************************************************************/
var pwiki = require('pwiki')
/**********************************************************************
* vim:set ts=4 sw=4 nowrap : */ return module })