Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #505 from peterjosling/feature/docs_fix

Documentation fixes
  • Loading branch information...
commit 594d76bdc7e2bb8c75c443b5c3eb68167b4b8914 2 parents 2137aed + b5498bc
@PaulUithol authored
Showing with 11 additions and 11 deletions.
  1. +11 −11 index.html
View
22 index.html
@@ -5,10 +5,10 @@
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="viewport" content="width=device-width">
<link rel="icon" href="static/images/favicon.ico">
-
+
<link href="http://fonts.googleapis.com/css?family=Arimo" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="static/css/style.css">
-
+
<title>Backbone-relational.js</title>
<!--[if lt IE 9]>
@@ -773,7 +773,7 @@ <h3 id="RelationalModel-instance-methods">
<section id="RelationalModel-getAsync">
<h4 class="code">
- getAsync<code>relationalModel.getAsync(attr&lt;string&gt;, [options&lt;object&gt;], [refresh&lt;boolean&gt;])</code>
+ getAsync<code>relationalModel.getAsync(attr&lt;string&gt;, [options&lt;object&gt;]</code>
</h4>
<p>
Returns: <q>jQuery.Deferred</q> A <a href="http://api.jquery.com/category/deferred-object/">jQuery promise</a>
@@ -801,7 +801,7 @@ <h4 class="code">
<section id="RelationalModel-getIdsToFetch">
<h4 class="code">
- getRelations<code>relationModel.getIdsToFetch(attr&lt;string|Backbone.Relation&gt;, )</code>
+ getIdsToFetch<code>relationModel.getIdsToFetch(attr&lt;string|Backbone.Relation&gt;, [refresh&lt;boolean&gt;])</code>
</h4>
<p>
Returns: <q>Array</q> A list of the ids that will be fetched when calling <q>getAsync</q>.
@@ -1058,7 +1058,7 @@ <h4 class="code">
</ul>
</section>
</section>
-
+
<section id="Relation">
<h2 >Backbone.Relation</h2>
<p>
@@ -1134,7 +1134,7 @@ <h2 >Examples</h2>
<p>
A basic working example to get you started:
</p>
-
+
<pre class="language-javascript"><code id="example-person-run1" class="language-javascript runnable" data-setup="#example-person"><!--
-->var paul = new Person({
id: 'person-1',
@@ -1444,7 +1444,7 @@ <h2 >Examples</h2>
</li>
<li>Added a <a href="#relations-parse"><q>parse</q></a> option to relations.</li>
</ul>
-
+
<h4>0.7.1
<small>
<span class="date">17 Januari 2013</span> &ndash;
@@ -1457,7 +1457,7 @@ <h2 >Examples</h2>
<li>Implemented the <a href="#relations-autoFetch"><q>autoFetch</q></a> property for relations.</li>
<li>Added the <q>update</q> option to <a href="#RelationalModel-findOrCreate"><q>findOrCreate</q></a>.</li>
</ul>
-
+
<h4>0.7.0
<small>
<span class="date">18 December 2012</span> &ndash;
@@ -1472,7 +1472,7 @@ <h2 >Examples</h2>
multiple instances of RelationalModels with the same type, and the same <q>id</q>.
</li>
</ul>
-
+
<h4>0.6.0
<small>
<span class="date">02 August 2012</span> &ndash;
@@ -1498,7 +1498,7 @@ <h2 >Examples</h2>
Added <q>Backbone.Store.addModelScope</q>.
</li>
</ul>
-
+
<h4>0.5.0
<small>
<span class="date">17 February 2012</span> &ndash;
@@ -1520,7 +1520,7 @@ <h2 >Examples</h2>
Initialize reverseRelations on definition, instead of on creation of the first model.
</li>
</ul>
-
+
<h4>0.4.0
<small>
<span class="date">23 July 2011</span> &ndash;
Please sign in to comment.
Something went wrong with that request. Please try again.