Commit 6e1c5c0 1 parent f8ca565 commit 6e1c5c0 Copy full SHA for 6e1c5c0
File tree 1 file changed +31
-3
lines changed
1 file changed +31
-3
lines changed Original file line number Diff line number Diff line change @@ -52,10 +52,38 @@ <h2>参考资料</h2>
52
52
< canvas id ="drawBoard " class ="draw-board " width ="900 " height ="700 "> </ canvas >
53
53
</ slides >
54
54
< div class ="progress "> < span id ="progress "> </ span > </ div >
55
-
56
- < script src ="https://gist.github.com/ksky521/5519468/raw/17ebd7450d7605c6e320206aaf5790a6cdd76d8e/gistfile1.js "> </ script >
55
+ < script src ="https://raw.github.com/ksky521/MixJS/master/lib/mix.0.3.0.min.js "> </ script >
57
56
< script >
58
-
57
+ var base = location . protocol + '//' + location . host + '/' ;
58
+ MixJS . config ( {
59
+ baseURL :base + 'js/'
60
+ } ) ;
61
+ MixJS . use ( 'event/broadcast' , function ( $ ) {
62
+ $ . loadJS ( '/js/nodeppt.js' , function ( ) {
63
+ Slide . init ( {
64
+ containerID : 'container' ,
65
+ drawBoardID : 'drawBoard' ,
66
+ slideClass : '.slide' ,
67
+ buildClass : '.build' ,
68
+ progressID : 'progress' ,
69
+ transition : 'horizontal3d' ,
70
+ tipID : 'tip' ,
71
+ width : 1100 ,
72
+ dir : '/js/' ,
73
+ control :{
74
+ type : 'socket' ,
75
+ args :{
76
+ isControl : location . hash . slice ( 1 , 8 ) === 'control' ,
77
+ host : base ,
78
+ shake : true
79
+ }
80
+ }
81
+ } ) ;
82
+ } ) . loadJS ( '/js/prettify.js' , function ( ) {
83
+ prettyPrint ( ) ;
84
+ } ) ;
85
+ } ) ;
59
86
</ script >
87
+
60
88
</ body >
61
89
</ html >
You can’t perform that action at this time.
0 commit comments