Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add link to the LICENSE.txt in the docs

  • Loading branch information...
commit 08046df6adae0f26f49a752832ce4798dd4089d2 1 parent 6e11940
@PaulUithol authored
Showing with 8 additions and 4 deletions.
  1. +1 −1  LICENSE.txt
  2. +7 −3 index.html
View
2  LICENSE.txt
@@ -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
View
10 index.html
@@ -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
@@ -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>
Please sign in to comment.
Something went wrong with that request. Please try again.