22<!-- attr: { id:'', class:'slide-title', showInPresentation:true, hasScriptWrapper:true } -->
33# JavaScript Patterns
44## Modules and stuff
5- <!-- <img class="slide-image" showInPresentation="true" src="imgs\ pic00.png" style="top:52.89%; left:66.12%; width:36.44%; z-index:-1" /> -->
6- <!-- <img class="slide-image" showInPresentation="true" src="imgs\ pic01.png" style="top:45.54%; left:48.46%; width:26.89%; z-index:-1" /> -->
7- <!-- <img class="slide-image" showInPresentation="true" src="imgs\ pic02.png" style="top:22.07%; left:3.90%; width:27.79%; z-index:-1" /> -->
8- <!-- <img class="slide-image" showInPresentation="true" src="imgs\ pic03.png" style="top:6.25%; left:72.94%; width:23.58%; z-index:-1" /> -->
5+ <!-- <img class="slide-image" showInPresentation="true" src="imgs/ pic00.png" style="top:52.89%; left:66.12%; width:36.44%; z-index:-1" /> -->
6+ <!-- <img class="slide-image" showInPresentation="true" src="imgs/ pic01.png" style="top:45.54%; left:48.46%; width:26.89%; z-index:-1" /> -->
7+ <!-- <img class="slide-image" showInPresentation="true" src="imgs/ pic02.png" style="top:22.07%; left:3.90%; width:27.79%; z-index:-1" /> -->
8+ <!-- <img class="slide-image" showInPresentation="true" src="imgs/ pic03.png" style="top:6.25%; left:72.94%; width:23.58%; z-index:-1" /> -->
99<article class =" signature " >
1010 <p class="signature-course">JavaScript OOP</p>
1111 <p class="signature-initiative">Telerik Software Academy</p>
1818- Module pattern
1919- Revealing module pattern
2020- Singleton pattern
21- <!-- <img class="slide-image" showInPresentation="true" src="imgs\ pic04.png" style="top:41.43%; left:51.46%; width:52.89%; z-index:-1" /> -->
21+ <!-- <img class="slide-image" showInPresentation="true" src="imgs/ pic04.png" style="top:41.43%; left:51.46%; width:52.89%; z-index:-1" /> -->
2222
2323
2424
2525<!-- section start -->
2626<!-- attr: { id:'', class:'slide-section', showInPresentation:true, hasScriptWrapper:true } -->
2727<!-- # The Module Pattern -->
28- <!-- <img class="slide-image" showInPresentation="true" src="imgs\ pic05.png" style="top:45.26%; left:32.91%; width:32.55%; z-index:-1" /> -->
28+ <!-- <img class="slide-image" showInPresentation="true" src="imgs/ pic05.png" style="top:45.26%; left:32.91%; width:32.55%; z-index:-1" /> -->
2929
3030
3131<!-- attr: { showInPresentation:true, hasScriptWrapper:true } -->
@@ -85,7 +85,7 @@ controls.getCalculator('First')
8585```
8686
8787<div class =" fragment balloon " style =" top :12% ; left :58% ; width :30% " >The visible members create closures with them</div >
88- <div class =" fragment balloon " style =" top :66% ; left :17% ; width :20% " >Visiable method</div >
88+ <div class =" fragment balloon " style =" top :66% ; left :17% ; width :20% " >Visible method</div >
8989
9090
9191<!-- attr: { showInPresentation:true, hasScriptWrapper:true } -->
@@ -98,15 +98,15 @@ controls.getCalculator('First')
9898<!-- attr: { class:'slide-section demo', showInPresentation:true, hasScriptWrapper:true } -->
9999<!-- # Module Pattern
100100## [Demo]() -->
101- <!-- <img class="slide-image" showInPresentation="true" src="imgs\ pic06.png" style="top:45%; left:10.30%; width:26%; z-index:-1" /> -->
101+ <!-- <img class="slide-image" showInPresentation="true" src="imgs/ pic06.png" style="top:45%; left:10.30%; width:26%; z-index:-1" /> -->
102102
103103
104104
105105<!-- section start -->
106106<!-- attr: { id:'', class:'slide-section', showInPresentation:true, hasScriptWrapper:true } -->
107107<!-- # The Revealing Module Pattern
108108## Reveal the most interesting members -->
109- <!-- <img class="slide-image" showInPresentation="true" src="imgs\ pic07.png" style="top:8.04%; left:76.39%; width:22.92%; z-index:-1" /> -->
109+ <!-- <img class="slide-image" showInPresentation="true" src="imgs/ pic07.png" style="top:8.04%; left:76.39%; width:22.92%; z-index:-1" /> -->
110110
111111
112112<!-- attr: { showInPresentation:true, hasScriptWrapper:true, style:'font-size:0.9em' } -->
@@ -181,7 +181,7 @@ controls.getCalculator('First')
181181<!-- attr: { class:'slide-section demo', showInPresentation:true, hasScriptWrapper:true } -->
182182<!-- # Revealing Module Pattern
183183## [Demo]() -->
184- <!-- <img class="slide-image" showInPresentation="true" src="imgs\ pic08.png" style="top:45.63%; left:2%; width:35%; z-index:-1" /> -->
184+ <!-- <img class="slide-image" showInPresentation="true" src="imgs/ pic08.png" style="top:45.63%; left:2%; width:35%; z-index:-1" /> -->
185185
186186
187187
@@ -213,7 +213,7 @@ var module = module || {}; // if module exists
213213<!-- attr: { class:'slide-section demo', showInPresentation:true, hasScriptWrapper:true } -->
214214<!-- # Augmenting Modules
215215## [Demo]() -->
216- <!-- <img class="slide-image" showInPresentation="true" src="imgs\ pic11.png" style="top:45%; left:0%; width:40%; z-index:-1" /> -->
216+ <!-- <img class="slide-image" showInPresentation="true" src="imgs/ pic11.png" style="top:45%; left:0%; width:40%; z-index:-1" /> -->
217217
218218
219219<!-- section start -->
@@ -287,7 +287,7 @@ export function cube(x) {
287287const foo = Math .PI + Math .SQRT2 ;
288288export { cube , foo };
289289```
290- - in another script, we could have
290+ - In another script, we could have
291291``` js
292292import { cube as cb , foo } from ' my-module' ;
293293console .log (cb (3 )); // 27
@@ -305,12 +305,12 @@ console.log(foo); // 4.555806215962888
305305# Free Trainings<br />@ Telerik Academy
306306- "Web Design with HTML 5, CSS 3 and JavaScript" course @ Telerik Academy
307307 - [ javascript course] ( http://academy.telerik.com/student-courses/web-design-and-ui/javascript-fundamentals/about )
308- - Telerik Software Academy
309- - [ academy.telerik.com] ( academy.telerik.com )
310- - Telerik Academy @ Facebook
311- - [ facebook.com/TelerikAcademy] ( facebook.com/TelerikAcademy )
312- - Telerik Software Academy Forums
313- - [ forums.academy.telerik.com] ( http://telerikacademy.com/Forum/Home )
308+ - Telerik Software Academy
309+ - [ academy.telerik.com] ( academy.telerik.com )
310+ - Telerik Academy @ Facebook
311+ - [ facebook.com/TelerikAcademy] ( facebook.com/TelerikAcademy )
312+ - Telerik Software Academy Forums
313+ - [ forums.academy.telerik.com] ( http://telerikacademy.com/Forum/Home )
314314
315315<!-- <img class="slide-image" showInPresentation="true" src="imgs/pic16.png" style="top:58.18%; left:90.52%; width:16.97%; z-index:-1" /> -->
316316
0 commit comments