File tree Expand file tree Collapse file tree 5 files changed +1763
-20
lines changed Expand file tree Collapse file tree 5 files changed +1763
-20
lines changed Original file line number Diff line number Diff line change 1
1
node_modules
2
2
lib
3
- dep
3
+ dep
Original file line number Diff line number Diff line change 7
7
< script >
8
8
require . config ( {
9
9
packages : [
10
- {
11
- name : 'esui' ,
12
- location : '../dep/esui/src' ,
13
- main : 'main'
14
- } ,
15
10
{
16
11
name : 'er' ,
17
- location : '../dep/er/src' ,
12
+ location : '../dep/er/3.1.0-alpha.8/ src' ,
18
13
main : 'main'
19
14
} ,
20
15
{
21
- name : 'ef' ,
22
- location : '../src'
16
+ name : 'esui' ,
17
+ location : '../dep/esui/3.1.0-alpha.8/src' ,
18
+ main : 'main'
23
19
} ,
24
20
{
25
21
name : 'underscore' ,
26
- location : '../dep/underscore/src' ,
22
+ location : '../dep/underscore/1.5.2/ src' ,
27
23
main : 'underscore'
28
24
} ,
25
+ {
26
+ name : 'etpl' ,
27
+ location : '../dep/etpl/2.1.0/src' ,
28
+ main : 'main'
29
+ } ,
29
30
{
30
31
name : 'mini-event' ,
31
- location : '../dep/mini-event/src' ,
32
+ location : '../dep/mini-event/1.0.0/src' ,
33
+ main : 'main'
34
+ } ,
35
+ {
36
+ name : 'moment' ,
37
+ location : '../dep/moment/2.0.1/src' ,
38
+ main : 'moment'
39
+ } ,
40
+ {
41
+ name : 'ef' ,
42
+ location : '../src' ,
32
43
main : 'main'
33
44
}
34
45
]
48
59
ui . init ( document . body ) ;
49
60
var panel = ui . get ( 'panel' ) ;
50
61
panel . on (
51
- 'actionloaded' ,
62
+ 'actionloaded' ,
52
63
function ( ) {
53
64
console . log ( 'load' , this . action ) ;
54
65
}
55
66
) ;
56
67
panel . on (
57
- 'actionloadfail' ,
68
+ 'actionloadfail' ,
58
69
function ( e ) {
59
70
console . log ( 'fail' , e . reason ) ;
60
71
}
61
72
) ;
62
73
panel . on (
63
- 'actionloadabort' ,
74
+ 'actionloadabort' ,
64
75
function ( e ) {
65
76
console . log ( 'abort' , this . action ) ;
66
77
}
67
78
) ;
68
79
panel . on (
69
- 'action@test' ,
80
+ 'action@test' ,
70
81
function ( e ) {
71
82
console . log ( 'test' , e ) ;
72
83
e . preventDefault ( ) ;
Original file line number Diff line number Diff line change 2
2
"name" : " ef" ,
3
3
"version" : " 3.1.0-alpha.3" ,
4
4
"maintainers" : [
5
- {
"name" :
" otakustay" ,
"email" :
" [email protected] " }
5
+ {
6
+ "name" : " otakustay" ,
7
+
8
+ }
6
9
],
7
10
"dependencies" : {
8
11
"er" : " 3.1.x" ,
9
12
"esui" : " >=3.1.0-alpha.5" ,
10
13
"underscore" : " 1.5.x" ,
11
- "mini-event" : " >=0.9.0"
14
+ "mini-event" : " 1.x" ,
15
+ "etpl" : " 2.x" ,
16
+ "moment" : " 2.x"
12
17
},
13
18
"main" : " main" ,
14
19
"description" : " EF是ER与ESUI整合而成的高效率业务系统开发框架。" ,
You can’t perform that action at this time.
0 commit comments