<!DOCTYPE html>
<html>
  <head>
    <title>Cadoles - Formation Javascript</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <style type="text/css">
      body {
          font-family: 'Droid Sans', 'Ubuntu Sans', 'sans-serif';
      }
      h1, h2, h3 {
        font-family: 'Caviar Dream', 'Droid Sans', 'Ubuntu Sans', 'sans-serif';
        font-weight: normal;
      }
      .remark-code, .remark-inline-code { font-family: 'Ubuntu Mono', monospace; }
    </style>
    <link href="../cadoles-theme.css" rel="stylesheet">
  </head>
  <body>
    <script src="../bower_components/remark/out/remark.js"></script>
    <script type="text/javascript">

      var slides = [
        'cover',
        'plan',
        'historique',
        'langage',
        'variables-1',
        'variables-2',
        'structures-1',
        'structures-2',
        'structures-3',
        'objets-1',
        'objets-2',
        'fonctions-1',
        'fonctions-2',
        'fonctions-3',
        'fonctions-4',
        'tableaux-1',
        'tableaux-2',
        'modele-objet-1',
        'modele-objet-2',
        'modele-objet-3',
        'modele-objet-4',
        'modularisation-1',
        'modularisation-2',
        'modularisation-3',
        'modularisation-4',
        'modularisation-5',
        'modularisation-6',
        'modularisation-7',
        'modularisation-8',
        'ecosysteme-1',
        'ecosysteme-2',
        'ecosysteme-3',
        'ecosysteme-4',
        'ecosysteme-5',
        'ecosysteme-6',
        'ecosysteme-7',
        'api-dom-1',
        'api-dom-2',
        'api-dom-3',
        'api-dom-4',
        'mise-en-pratique',
        'es6-1',
        'es6-2',
        'es6-3',
        'es6-4',
        'questions',
        'licence'
      ];

      var slideshow = remark.create({
        source: slides.map(fetchSlide).join('\n---\n'),
        highlightStyle: 'github',
        highlightLanguage: 'javascript'
      });

      function fetchSlide(slideName) {
        var req = new XMLHttpRequest();
        req.open('GET', slideName+'.md', false);
        req.send();
        return req.responseText.replace(/\r\n/g, '\n');
      };

    </script>
    <script id="cadoles-ascii" type="text/ascii-art">
         ___          _       _
        / __\__ _  __| | ___ | | ___ ___
       / /  / _` |/ _` |/ _ \| |/ _ \ __|
      / /___ (_| | (_| | (_) | |  __\__ \
      \____/\__,_|\__,_|\___/|_|\___|___/
            Formation Javascript 2015

    Bienvenue dans la console de votre navigateur !
    </script>
    <script>
      (function() {
        var asciiText = document.getElementById('cadoles-ascii').innerHTML;
        console.log('%c '+asciiText, 'color: #2A80AF;');
      }());
    </script>
  </body>
</html>