Skip to content
Browse files

Fix typo in anchor links

  • Loading branch information...
1 parent 71b166e commit 9e74e808fa0d3ec77d6d14c7bbee9d44fb4512ba @javve committed
Showing with 5 additions and 5 deletions.
  1. +5 −5 views/docs/list-api.ejs
View
10 views/docs/list-api.ejs
@@ -100,7 +100,7 @@ listObj.add([
});</code></pre>
</li>
<li>
- <p><strong><a hrename="remove" class="achor" href="#remove"></a>remove(valueName, value)</strong><br>
+ <p><strong><a name="remove" class="achor" href="#remove"></a>remove(valueName, value)</strong><br>
Removes items from the list where the value named <code>valueName</code> has value <code>value</code>.
Returns the number of items that where removed.</p>
@@ -134,7 +134,7 @@ listObj.sort('name', { order: "desc" }); -> Sorts the list in zxy-order based on
</li>
<li>
- <p><strong><a hrename="search" class="achor" href="#search"></a>search(searchString, columns)</strong><br>
+ <p><strong><a name="search" class="achor" href="#search"></a>search(searchString, columns)</strong><br>
Searches the list</p>
<pre><code class="javascript">itemsInList = [
@@ -149,11 +149,11 @@ listObj.search(); -> Show all items in list</code></pre>
</li>
<li>
- <p><strong><a hrname="clear" class="achor" href="#clear"></a>clear()</strong><br>
+ <p><strong><a name="clear" class="achor" href="#clear"></a>clear()</strong><br>
Removes all items from the list</p>
</li>
<li>
- <p><strong><a hrename="filter" class="achor" href="#filter"></a>filter(filterFunction)</strong></p>
+ <p><strong><a name="filter" class="achor" href="#filter"></a>filter(filterFunction)</strong></p>
<pre><code class="javascript">itemsInList = [
{ id: 1, name: "Jonny" }
@@ -193,7 +193,7 @@ listObj.show(4, 3); -> Display item 4,5,6 </code></pre>
</li>
<li>
- <p><strong><a hrename="update" class="achor" href="#update"></a>update()</strong><br>
+ <p><strong><a name="update" class="achor" href="#update"></a>update()</strong><br>
Updates the current state of the list. Meaning that if you for instance
hides some items with the <code>itemObj.hide()</code> method then you have to call <code>listObj.update()</code>
if you want the paging to update.</p>

0 comments on commit 9e74e80

Please sign in to comment.
Something went wrong with that request. Please try again.