aboutsummaryrefslogtreecommitdiff
path: root/js/slides.js
blob: 1af4bd552f856b21707847bbebe110d93fc305aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/**
 * ADD stuff here
 */
(function() {
  var scs = ['modernizr.custom.45394.js', 'prettify/prettify.js', 'hammer.js',
      'slide-controller.js', 'slide-deck.js'];
  var b = document.getElementsByTagName('script')[0];
  for (var i = 0, s; s = scs[i]; i++) {
    var sc = document.createElement('script');
    sc.type = 'text/javascript';
    sc.async = true;
    sc.src = 'js/' + s;
    b.parentNode.insertBefore(sc, b);
  }
})();