Skip to content

Commit 670ac89

Browse files
committed
Added new Design Patterns in README.md.
1 parent a45ff27 commit 670ac89

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

Lazy/Lazy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Lazy.prototype.update = function(sTextSpan, dTime)
2626
aHTML.push("</span>");
2727
aHTML.push("<span id='timeText'>");
2828
aHTML.push(this.getFormattedTime(dTime));
29-
aHTML.push("</span>")
29+
aHTML.push("</span>");
3030
aHTML.push("</div>");
3131
this.oContainer.innerHTML = aHTML.join("");
3232
aHTML = null;

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Design Patterns in Javascript
22
This will be a repository of how to use the Design Patterns from *Gang of Four* in your applications with Javascript.
3-
I borrowed the examples from [Head First Design Patterns](http://www.amazon.com/First-Design-Patterns-Elisabeth-Freeman/dp/0596007124/ref=sr_1_1?ie=UTF8&qid=1316512770&sr=8-1) book.
43

54
## Update:
5+
Added new Design Patterns exclusive from Javascript.
66
Added changes to index.html. Now you can check the code to be executed and the execution without to have open console. Thanks -adamnbowen-
77

88
## Design Patterns that you can found in this repository:
@@ -23,6 +23,13 @@ Added changes to index.html. Now you can check the code to be executed and the e
2323
* Strategy
2424
* Template
2525
* Compound (Use some design patterns together to solve a problem)
26+
* Chaining
27+
* Lazy
28+
* Module
29+
* Module Revealed
30+
* Namespace
31+
* Nullify
32+
* Try-Finally
2633

2734
This repository contains a folder by each design pattern.
2835

0 commit comments

Comments
 (0)