Skip to content

Commit 1b2f773

Browse files
committed
Add license file, fixes #84
1 parent 14f43e5 commit 1b2f773

File tree

1 file changed

+190
-0
lines changed

1 file changed

+190
-0
lines changed

LICENSE

+190
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,190 @@
1+
dgrid is available under *either* the terms of the modified BSD license *or* the
2+
Academic Free License version 2.1. As a recipient of dgrid, you may choose which
3+
license to receive this code under.
4+
5+
The text of the AFL and BSD licenses is reproduced below.
6+
7+
-------------------------------------------------------------------------------
8+
The "New" BSD License:
9+
**********************
10+
11+
Copyright (c) 2010-2015, The Dojo Foundation
12+
All rights reserved.
13+
14+
Redistribution and use in source and binary forms, with or without
15+
modification, are permitted provided that the following conditions are met:
16+
17+
* Redistributions of source code must retain the above copyright notice, this
18+
list of conditions and the following disclaimer.
19+
* Redistributions in binary form must reproduce the above copyright notice,
20+
this list of conditions and the following disclaimer in the documentation
21+
and/or other materials provided with the distribution.
22+
* Neither the name of the Dojo Foundation nor the names of its contributors
23+
may be used to endorse or promote products derived from this software
24+
without specific prior written permission.
25+
26+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
27+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
28+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
29+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
30+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
31+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
32+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
33+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
34+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
35+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36+
37+
-------------------------------------------------------------------------------
38+
The Academic Free License, v. 2.1:
39+
**********************************
40+
41+
This Academic Free License (the "License") applies to any original work of
42+
authorship (the "Original Work") whose owner (the "Licensor") has placed the
43+
following notice immediately following the copyright notice for the Original
44+
Work:
45+
46+
Licensed under the Academic Free License version 2.1
47+
48+
1) Grant of Copyright License. Licensor hereby grants You a world-wide,
49+
royalty-free, non-exclusive, perpetual, sublicenseable license to do the
50+
following:
51+
52+
a) to reproduce the Original Work in copies;
53+
54+
b) to prepare derivative works ("Derivative Works") based upon the Original
55+
Work;
56+
57+
c) to distribute copies of the Original Work and Derivative Works to the
58+
public;
59+
60+
d) to perform the Original Work publicly; and
61+
62+
e) to display the Original Work publicly.
63+
64+
2) Grant of Patent License. Licensor hereby grants You a world-wide,
65+
royalty-free, non-exclusive, perpetual, sublicenseable license, under patent
66+
claims owned or controlled by the Licensor that are embodied in the Original
67+
Work as furnished by the Licensor, to make, use, sell and offer for sale the
68+
Original Work and Derivative Works.
69+
70+
3) Grant of Source Code License. The term "Source Code" means the preferred
71+
form of the Original Work for making modifications to it and all available
72+
documentation describing how to modify the Original Work. Licensor hereby
73+
agrees to provide a machine-readable copy of the Source Code of the Original
74+
Work along with each copy of the Original Work that Licensor distributes.
75+
Licensor reserves the right to satisfy this obligation by placing a
76+
machine-readable copy of the Source Code in an information repository
77+
reasonably calculated to permit inexpensive and convenient access by You for as
78+
long as Licensor continues to distribute the Original Work, and by publishing
79+
the address of that information repository in a notice immediately following
80+
the copyright notice that applies to the Original Work.
81+
82+
4) Exclusions From License Grant. Neither the names of Licensor, nor the names
83+
of any contributors to the Original Work, nor any of their trademarks or
84+
service marks, may be used to endorse or promote products derived from this
85+
Original Work without express prior written permission of the Licensor. Nothing
86+
in this License shall be deemed to grant any rights to trademarks, copyrights,
87+
patents, trade secrets or any other intellectual property of Licensor except as
88+
expressly stated herein. No patent license is granted to make, use, sell or
89+
offer to sell embodiments of any patent claims other than the licensed claims
90+
defined in Section 2. No right is granted to the trademarks of Licensor even if
91+
such marks are included in the Original Work. Nothing in this License shall be
92+
interpreted to prohibit Licensor from licensing under different terms from this
93+
License any Original Work that Licensor otherwise would have a right to
94+
license.
95+
96+
5) This section intentionally omitted.
97+
98+
6) Attribution Rights. You must retain, in the Source Code of any Derivative
99+
Works that You create, all copyright, patent or trademark notices from the
100+
Source Code of the Original Work, as well as any notices of licensing and any
101+
descriptive text identified therein as an "Attribution Notice." You must cause
102+
the Source Code for any Derivative Works that You create to carry a prominent
103+
Attribution Notice reasonably calculated to inform recipients that You have
104+
modified the Original Work.
105+
106+
7) Warranty of Provenance and Disclaimer of Warranty. Licensor warrants that
107+
the copyright in and to the Original Work and the patent rights granted herein
108+
by Licensor are owned by the Licensor or are sublicensed to You under the terms
109+
of this License with the permission of the contributor(s) of those copyrights
110+
and patent rights. Except as expressly stated in the immediately proceeding
111+
sentence, the Original Work is provided under this License on an "AS IS" BASIS
112+
and WITHOUT WARRANTY, either express or implied, including, without limitation,
113+
the warranties of NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR
114+
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL WORK IS WITH YOU.
115+
This DISCLAIMER OF WARRANTY constitutes an essential part of this License. No
116+
license to Original Work is granted hereunder except under this disclaimer.
117+
118+
8) Limitation of Liability. Under no circumstances and under no legal theory,
119+
whether in tort (including negligence), contract, or otherwise, shall the
120+
Licensor be liable to any person for any direct, indirect, special, incidental,
121+
or consequential damages of any character arising as a result of this License
122+
or the use of the Original Work including, without limitation, damages for loss
123+
of goodwill, work stoppage, computer failure or malfunction, or any and all
124+
other commercial damages or losses. This limitation of liability shall not
125+
apply to liability for death or personal injury resulting from Licensor's
126+
negligence to the extent applicable law prohibits such limitation. Some
127+
jurisdictions do not allow the exclusion or limitation of incidental or
128+
consequential damages, so this exclusion and limitation may not apply to You.
129+
130+
9) Acceptance and Termination. If You distribute copies of the Original Work or
131+
a Derivative Work, You must make a reasonable effort under the circumstances to
132+
obtain the express assent of recipients to the terms of this License. Nothing
133+
else but this License (or another written agreement between Licensor and You)
134+
grants You permission to create Derivative Works based upon the Original Work
135+
or to exercise any of the rights granted in Section 1 herein, and any attempt
136+
to do so except under the terms of this License (or another written agreement
137+
between Licensor and You) is expressly prohibited by U.S. copyright law, the
138+
equivalent laws of other countries, and by international treaty. Therefore, by
139+
exercising any of the rights granted to You in Section 1 herein, You indicate
140+
Your acceptance of this License and all of its terms and conditions.
141+
142+
10) Termination for Patent Action. This License shall terminate automatically
143+
and You may no longer exercise any of the rights granted to You by this License
144+
as of the date You commence an action, including a cross-claim or counterclaim,
145+
against Licensor or any licensee alleging that the Original Work infringes a
146+
patent. This termination provision shall not apply for an action alleging
147+
patent infringement by combinations of the Original Work with other software or
148+
hardware.
149+
150+
11) Jurisdiction, Venue and Governing Law. Any action or suit relating to this
151+
License may be brought only in the courts of a jurisdiction wherein the
152+
Licensor resides or in which Licensor conducts its primary business, and under
153+
the laws of that jurisdiction excluding its conflict-of-law provisions. The
154+
application of the United Nations Convention on Contracts for the International
155+
Sale of Goods is expressly excluded. Any use of the Original Work outside the
156+
scope of this License or after its termination shall be subject to the
157+
requirements and penalties of the U.S. Copyright Act, 17 U.S.C. § 101 et
158+
seq., the equivalent laws of other countries, and international treaty. This
159+
section shall survive the termination of this License.
160+
161+
12) Attorneys Fees. In any action to enforce the terms of this License or
162+
seeking damages relating thereto, the prevailing party shall be entitled to
163+
recover its costs and expenses, including, without limitation, reasonable
164+
attorneys' fees and costs incurred in connection with such action, including
165+
any appeal of such action. This section shall survive the termination of this
166+
License.
167+
168+
13) Miscellaneous. This License represents the complete agreement concerning
169+
the subject matter hereof. If any provision of this License is held to be
170+
unenforceable, such provision shall be reformed only to the extent necessary to
171+
make it enforceable.
172+
173+
14) Definition of "You" in This License. "You" throughout this License, whether
174+
in upper or lower case, means an individual or a legal entity exercising rights
175+
under, and complying with all of the terms of, this License. For legal
176+
entities, "You" includes any entity that controls, is controlled by, or is
177+
under common control with you. For purposes of this definition, "control" means
178+
(i) the power, direct or indirect, to cause the direction or management of such
179+
entity, whether by contract or otherwise, or (ii) ownership of fifty percent
180+
(50%) or more of the outstanding shares, or (iii) beneficial ownership of such
181+
entity.
182+
183+
15) Right to Use. You may use the Original Work in all ways not otherwise
184+
restricted or conditioned by this License or by law, and Licensor promises not
185+
to interfere with or be responsible for such uses by You.
186+
187+
This license is Copyright (C) 2003-2004 Lawrence E. Rosen. All rights reserved.
188+
Permission is hereby granted to copy and distribute this license without
189+
modification. This license may not be modified without the express written
190+
permission of its copyright owner.

0 commit comments

Comments
 (0)