diff options
Diffstat (limited to 'js/slides.js')
-rw-r--r-- | js/slides.js | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/js/slides.js b/js/slides.js index 1af4bd5..3f6306e 100644 --- a/js/slides.js +++ b/js/slides.js | |||
@@ -1,15 +1,5 @@ | |||
1 | /** | 1 | require(['order!../slide_config', 'order!modernizr.custom.45394', |
2 | * ADD stuff here | 2 | 'order!prettify/prettify', 'order!hammer', 'order!slide-controller', |
3 | */ | 3 | 'order!slide-deck'], function(someModule) { |
4 | (function() { | 4 | |
5 | var scs = ['modernizr.custom.45394.js', 'prettify/prettify.js', 'hammer.js', | 5 | }); |
6 | 'slide-controller.js', 'slide-deck.js']; | ||
7 | var b = document.getElementsByTagName('script')[0]; | ||
8 | for (var i = 0, s; s = scs[i]; i++) { | ||
9 | var sc = document.createElement('script'); | ||
10 | sc.type = 'text/javascript'; | ||
11 | sc.async = true; | ||
12 | sc.src = 'js/' + s; | ||
13 | b.parentNode.insertBefore(sc, b); | ||
14 | } | ||
15 | })(); | ||