Commits

Mort Yao committed a1d47ce

fix relative links

  • Participants
  • Parent commits 459b63c

Comments (0)

Files changed (1)

File slides/flyweight-pattern/index.html

   <meta name="apple-mobile-web-app-capable" content="yes" />
   <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
   <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
-  <link rel="stylesheet" href="reveal.js/css/reveal.min.css"/>
+  <link rel="stylesheet" href="slides/flyweight-pattern/reveal.js/css/reveal.min.css"/>
     <style type="text/css">code{white-space: pre;}</style>
     <style type="text/css">
 table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode {
 code > span.fu { color: #06287e; }
 code > span.er { color: #ff0000; font-weight: bold; }
     </style>
-    <link rel="stylesheet" href="reveal.js/css/theme/simple.css" id="theme">
-  <link rel="stylesheet" media="print" href="reveal.js/css/print/pdf.css" />
+    <link rel="stylesheet" href="slides/flyweight-pattern/reveal.js/css/theme/simple.css" id="theme">
+  <link rel="stylesheet" media="print" href="slides/flyweight-pattern/reveal.js/css/print/pdf.css" />
   <!--[if lt IE 9]>
-  <script src="reveal.js/lib/js/html5shiv.js"></script>
+  <script src="slides/flyweight-pattern/reveal.js/lib/js/html5shiv.js"></script>
   <![endif]-->
 </head>
 <body>
 <section id="flyweight-as-a-weight-class" class="slide level1">
 <h1>Flyweight as a Weight Class</h1>
 <figure>
-<img src="images/kickboxing1.jpg" />
+<img src="slides/flyweight-pattern/images/kickboxing1.jpg" />
 </figure>
 </section>
 <section id="weight-classes-in-mma" class="slide level1">
 <section id="gun-object" class="slide level1">
 <h1>Gun Object</h1>
 <figure>
-<img src="images/m4a1.jpg" />
+<img src="slides/flyweight-pattern/images/m4a1.jpg" />
 </figure>
 </section>
 <section id="gun-object-1" class="slide level1">
 <li class="fragment">...of billions of objects</li>
 </ul>
 <figure>
-<img src="images/battlefield.jpg" />
+<img src="slides/flyweight-pattern/images/battlefield.jpg" />
 </figure>
 </section>
 <section id="to-simulate-the-world-1" class="slide level1">
 <section id="flyweight-pattern-structure" class="slide level1">
 <h1>Flyweight Pattern: Structure</h1>
 <figure>
-<img src="images/flyweight.png" />
+<img src="slides/flyweight-pattern/images/flyweight.png" />
 </figure>
 </section>
 <section id="flyweight-pattern" class="slide level1">
 <h1>FLyweight Pattern</h1>
 <figure>
-<img src="images/flyweight.gif" />
+<img src="slides/flyweight-pattern/images/flyweight.gif" />
 </figure>
 <ul>
 <li class="fragment"><strong>Flyweight</strong>: the Flyweight interface</li>
 <section id="example-1" class="slide level1">
 <h1>Example 1</h1>
 <figure>
-<img src="images/example1_1.png" />
+<img src="slides/flyweight-pattern/images/example1_1.png" />
 </figure>
 <ul>
 <li class="fragment">Solution: <strong>shared objects</strong></li>
 <section id="example-1-1" class="slide level1">
 <h1>Example 1</h1>
 <figure>
-<img src="images/example1_2.png" />
+<img src="slides/flyweight-pattern/images/example1_2.png" />
 </figure>
 <ul>
 <li class="fragment"><strong>Flyweight Pool</strong>: shared objects are stored in a pool</li>
 <h1>Example 3: 3D Simulation</h1>
 <p>Lots of Objects</p>
 <figure>
-<img src="images/weapons.jpg" />
+<img src="slides/flyweight-pattern/images/weapons.jpg" />
 </figure>
 </section>
 <section id="example-3-3d-simulation-1" class="slide level1">
 </section>
 <section id="thank-you" class="slide level1">
 <h1>Thank You</h1>
-<p><img src="images/octocat.png" height="60%"/></p>
+<p><img src="slides/flyweight-pattern/images/octocat.png" height="60%"/></p>
 </section>
 <section id="references" class="slide level1">
 <h1>References</h1>
     </div>
   </div>
 
-  <script src="reveal.js/lib/js/head.min.js"></script>
-  <script src="reveal.js/js/reveal.min.js"></script>
+  <script src="slides/flyweight-pattern/reveal.js/lib/js/head.min.js"></script>
+  <script src="slides/flyweight-pattern/reveal.js/js/reveal.min.js"></script>
 
   <script>
 
 
         // Optional libraries used to extend on reveal.js
         dependencies: [
-          { src: 'reveal.js/lib/js/classList.js', condition: function() { return !document.body.classList; } },
-          { src: 'reveal.js/plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
-          { src: 'reveal.js/plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } },
-//          { src: 'reveal.js/plugin/search/search.js', async: true, condition: function() { return !!document.body.classList; }, }
-//          { src: 'reveal.js/plugin/remotes/remotes.js', async: true, condition: function() { return !!document.body.classList; } }
+          { src: 'slides/flyweight-pattern/reveal.js/lib/js/classList.js', condition: function() { return !document.body.classList; } },
+          { src: 'slides/flyweight-pattern/reveal.js/plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
+          { src: 'slides/flyweight-pattern/reveal.js/plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } },
+//          { src: 'slides/flyweight-pattern/reveal.js/plugin/search/search.js', async: true, condition: function() { return !!document.body.classList; }, }
+//          { src: 'slides/flyweight-pattern/reveal.js/plugin/remotes/remotes.js', async: true, condition: function() { return !!document.body.classList; } }
 ]});
     </script>
   </body>