Skip to content

Commit

Permalink
Add link to the LICENSE.txt in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulUithol committed Feb 19, 2013
1 parent 6e11940 commit 08046df
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2011, 2012 Paul Uithol, http://progressivecompany.nl/
Copyright (c) 2011-2013 Paul Uithol, http://progressivecompany.nl/

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
10 changes: 7 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ <h1 id="header">
<a href="http://backbonejs.org/#Model-save">save()</a> or <a href="http://backbonejs.org/#Model-fetch">
fetch()</a>, sync the model and all of its related models.
</p>
<p>
Backbone-relational is hosted on <a href="https://github.com/PaulUithol/Backbone-relational">GibHub</a>,
and is available under the <a href="https://github.com/PaulUithol/Backbone-relational/blob/master/LICENSE.txt">MIT license</a>.
</p>

<h2 id="Downloads">
Downloads &amp; Dependencies
Expand Down Expand Up @@ -134,9 +138,9 @@ <h2 id="Introduction">Introduction</h2>

<p>
Backbone-relational.js provides one-to-one, one-to-many and many-to-one relations
between models for Backbone. To use relations, extend <a href="#RelationalModel"><strong>Backbone.RelationalModel</strong></a> (instead of the regular
<a href="http://backbonejs.org/#Model">Backbone.Model</a>) and define a <a href="#RelationalModel-relations"><q>relations</q></a> property, containing an array of option objects.
Each relation must define (as a minimum) the <a href="#Relation-type"><q>type</q></a>, <a href="#Relation-key"><q>key</q></a>,
between models for Backbone. To use relations, extend <a href="#RelationalModel"><strong>Backbone.RelationalModel</strong></a>
(instead of a regular <a href="http://backbonejs.org/#Model">Backbone.Model</a>) and define a <a href="#RelationalModel-relations"><q>relations</q></a> property, containing an array of option objects.
Each relation must define (at least) the <a href="#Relation-type"><q>type</q></a>, <a href="#Relation-key"><q>key</q></a>,
and <a href="#Relation-relatedModel"><q>relatedModel</q></a>. Available relation types are <a href="#Relation-HasOne"><q>Backbone.HasOne</q></a>
and <a href="#Relation-HasMany"><q>Backbone.HasMany</q></a>.
</p>
Expand Down

0 comments on commit 08046df

Please sign in to comment.