Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 76bc85b

Browse files
committed
added new item to jquery pattern list
1 parent 43ce800 commit 76bc85b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

index.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ <h1>JavaScript Pattern Collection</h1>
4444
</header>
4545
<div role="main">
4646
<section id="intro">
47-
A JavaScript pattern and antipattern code collection that covers function patterns, jQuery patterns, design patterns, general patterns, literals and constructor patterns (<em>upcoming</em>), object creation patterns (<em>upcoming</em>), code reuse patterns (<em>upcoming</em>), DOM and browser patterns (<em>upcoming</em>).
47+
<p>A JavaScript pattern and antipattern code collection that covers function patterns, jQuery patterns, design patterns, general patterns, literals and constructor patterns (<em>upcoming</em>), object creation patterns (<em>upcoming</em>), code reuse patterns (<em>upcoming</em>), DOM and browser patterns (<em>upcoming</em>).</p>
48+
<p>Newly added patterns will be regularly<a href="http://twitter.com/shichuan">tweeted</a>.</p>
4849
</section>
4950
<section>
5051
<h2>Function Patterns</h2>
@@ -79,6 +80,8 @@ <h2>jQuery Patterns</h2>
7980
<li><a href="https://github.com/shichuan/javascript-patterns/blob/master/jquery-patterns/context-and-find.html" target="_blank">context and find</a> - use find over context</li>
8081
<li><a href="https://github.com/shichuan/javascript-patterns/blob/master/jquery-patterns/detach.html" target="_blank">detach</a> - take element off the DOM while manipulating them</li>
8182
<li><a href="https://github.com/shichuan/javascript-patterns/blob/master/jquery-patterns/event-delegation.html" target="_blank">Event Delegation</a> - event delegation pattern and antipattern</li>
83+
<li><a href="https://github.com/shichuan/javascript-patterns/blob/master/jquery-patterns/selector-cache.html" target="_blank">Selector Cache</a> - using selector cache to avoid requery</li>
84+
<li><a href="https://github.com/shichuan/javascript-patterns/blob/master/jquery-patterns/window-scroll-event.html" target="_blank">window scroll event</a> - avoid attaching handlers to the window scroll event</li>
8285
</ul>
8386
<h3>Selector</h3>
8487
<ul>

0 commit comments

Comments
 (0)