You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li><ahref="">Memoization</a> - use function properties to avoid repeated computation</li>
62
-
<li><ahref="">Self-defining functions</a> - self-overwrite with new bodies to do less work from the second invocation and after</li>
61
+
<li><ahref="#">Memoization</a> - use function properties to avoid repeated computation</li>
62
+
<li><ahref="#">Self-defining functions</a> - self-overwrite with new bodies to do less work from the second invocation and after</li>
63
63
</ul>
64
64
65
65
<h2>jQuery Patterns</h2>
66
66
<ul>
67
67
<li><ahref="https://github.com/shichuan/javascript-patterns/blob/master/jquery-patterns/requery.html" target="_blank">requery</a> - avoid requery by using jQuery chaining</li>
68
68
<li><ahref="https://github.com/shichuan/javascript-patterns/blob/master/jquery-patterns/append.html" target="_blank">append</a> - use string concatenate and set innerHTML</li>
69
-
<li><ahref="https://github.com/shichuan/javascript-patterns/blob/master/jquery-patterns/selector-optimization.html" target="_blank">selector-optimization</a> - using jQuery selector effectively</li>
69
+
<li><ahref="https://github.com/shichuan/javascript-patterns/blob/master/jquery-patterns/data.html" target="_blank">data</a> - pattern and antipattern of using data</li>
70
+
<li><ahref="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>
71
+
<li><ahref="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>
72
+
<li><ahref="https://github.com/shichuan/javascript-patterns/blob/master/jquery-patterns/event-delegation.html" target="_blank">event delegation</a> - event delegation pattern and antipattern</li>
73
+
<li><ahref="https://github.com/shichuan/javascript-patterns/blob/master/jquery-patterns/event-delegation.html" target="_blank">event delegation</a> - event delegation pattern and antipattern</li>
74
+
</ul>
75
+
<h3>Selector</h3>
76
+
<ul>
77
+
<li><ahref="https://github.com/shichuan/javascript-patterns/blob/master/jquery-patterns/left-and-right.html" target="_blank">left and right</a> - specific on the right, light on the left</li>
78
+
<li><ahref="https://github.com/shichuan/javascript-patterns/blob/master/jquery-patterns/decending-from-id.html" target="_blank">decending from id</a> - be more specific</li>
79
+
<li><ahref="https://github.com/shichuan/javascript-patterns/blob/master/jquery-patterns/universal-selector.html" target="_blank">universal selector</a> - use of universal selector</li>
80
+
<li><ahref="https://github.com/shichuan/javascript-patterns/blob/master/jquery-patterns/specific-when-needed.html" target="_blank">be specific when needed</a> - be specific only when needed</li>
0 commit comments