diff options
Diffstat (limited to 'js/slides.js')
-rw-r--r-- | js/slides.js | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/js/slides.js b/js/slides.js index 9966d0b..edc31bb 100644 --- a/js/slides.js +++ b/js/slides.js | |||
@@ -1,6 +1,21 @@ | |||
1 | require([ 'order!../slide_config', 'order!modernizr.custom.45394', | 1 | require.config({ |
2 | 'order!prettify/prettify', 'order!hammer', | 2 | paths : { |
3 | 'order!//webcastor.herokuapp.com/socket.io/socket.io.js', | 3 | 'slide_config' : '../slide_config', |
4 | 'order!slide-controller', 'order!slide-deck' ], function(someModule) { | 4 | 'slide-controller' : 'slide-controller', |
5 | 'slide-deck' : 'slide-deck', | ||
6 | |||
7 | 'modernizr' : 'modernizr.custom.45394', | ||
8 | 'prettify' : 'prettify/prettify', | ||
9 | 'hammer' : 'hammer', | ||
10 | }, | ||
11 | |||
12 | shim : { | ||
13 | 'slide-deck' : { | ||
14 | deps : ['slide_config', 'slide-controller', 'modernizr', 'hammer'] | ||
15 | } | ||
16 | } | ||
17 | }); | ||
18 | |||
19 | require(['slide-deck', 'prettify'], function(someModule) { | ||
5 | 20 | ||
6 | }); | 21 | }); |