UNPKG

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