style: fix automatically-fixable lint issues

This commit is contained in:
Christopher Willis-Ford 2024-02-26 10:10:19 -08:00
parent 33df5b6eb0
commit a96fe522f4
13 changed files with 206 additions and 206 deletions

View file

@ -258,7 +258,7 @@ class Microworld extends React.Component {
) )
} }
/> />
`</Box> `</Box>
</div> </div>
); );
} }

View file

@ -70,7 +70,7 @@ class FeedbackForm extends React.Component {
autoComplete="off" autoComplete="off"
autoCorrect="off" autoCorrect="off"
className={classNames( className={classNames(
'compose-feedback', 'compose-feedback'
)} )}
component="textarea" component="textarea"
error={errors.feedback} error={errors.feedback}

View file

@ -222,7 +222,7 @@ class MuteModal extends React.Component {
{this.state.step > 0 && this.state.step < steps.USER_FEEDBACK ? ( {this.state.step > 0 && this.state.step < steps.USER_FEEDBACK ? (
<Button <Button
className={classNames( className={classNames(
'back-button', 'back-button'
)} )}
onClick={this.handlePrevious} onClick={this.handlePrevious}
> >
@ -233,7 +233,7 @@ class MuteModal extends React.Component {
) : this.state.step === steps.USER_FEEDBACK ? ( ) : this.state.step === steps.USER_FEEDBACK ? (
<Button <Button
className={classNames( className={classNames(
'send-button', 'send-button'
)} )}
form="feedback-form" form="feedback-form"
type="submit" type="submit"

View file

@ -1453,7 +1453,7 @@ class AnnualReport extends React.Component {
values={{ values={{
linkText: ( linkText: (
<a href="https://www.youtube.com/playlist?list=PLpfxVARjkP-953-E52NskKvbCBXEgHkwr"> <a href="https://www.youtube.com/playlist?list=PLpfxVARjkP-953-E52NskKvbCBXEgHkwr">
Create-Alongs Create-Alongs
</a> </a>
) )
}} }}

View file

@ -81,7 +81,7 @@ class ConferencePlan extends React.Component {
</FlexRow> </FlexRow>
<p> <p>
To reserve a room, <b>call the hotel and request the{' '} To reserve a room, <b>call the hotel and request the{' '}
&#34;MIT discount&#34;</b> (subject to availability). &#34;MIT discount&#34;</b> (subject to availability).
</p> </p>
<p> <p>
We also suggest the{' '} We also suggest the{' '}

View file

@ -334,11 +334,11 @@ const Cookies = injectIntl(() => (
<h2><FormattedMessage id="cookies.contactTitle" /></h2> <h2><FormattedMessage id="cookies.contactTitle" /></h2>
<p><FormattedMessage id="cookies.contactIntro" /></p> <p><FormattedMessage id="cookies.contactIntro" /></p>
<p> <p>
Scratch Foundation<br /> Scratch Foundation<br />
ATTN: Cookie Policy<br /> ATTN: Cookie Policy<br />
201 South Street<br /> 201 South Street<br />
Suite 102<br /> Suite 102<br />
Boston, MA 02111<br /> Boston, MA 02111<br />
</p> </p>
</section> </section>
</div> </div>

View file

@ -51,8 +51,8 @@ const Credits = () => (
{' '} {' '}
<span> <span>
Brenda Nyaringita (Kiswahili), Farshid Meidani (فارسی), Brenda Nyaringita (Kiswahili), Farshid Meidani (فارسی),
Hans de Jong (Nederlands), Karin Colsman (Gàidhlig), Hans de Jong (Nederlands), Karin Colsman (Gàidhlig),
Nasir Khan Saikat (). Nasir Khan Saikat ().
</span> </span>
</p> </p>
</div> </div>
@ -141,9 +141,9 @@ const Credits = () => (
<FormattedMessage id="credits.acknowledgementsIllustrations" /> <FormattedMessage id="credits.acknowledgementsIllustrations" />
</p> </p>
<p> <p>
Natalie Rosalinda Hall, Wren McDonald, Leigh McG, Andrew Rae, Daria Natalie Rosalinda Hall, Wren McDonald, Leigh McG, Andrew Rae, Daria
Skrybchenko, Robert Hunter, Alex Eben Meyer, Ding Ding Hu, Owen Skrybchenko, Robert Hunter, Alex Eben Meyer, Ding Ding Hu, Owen
Davey, Zo&euml; Bentley, DD Liu, Kristin Osiecki, Kathy Wu. Davey, Zo&euml; Bentley, DD Liu, Kristin Osiecki, Kathy Wu.
</p> </p>
<h2> <h2>
<FormattedMessage id="credits.soundsTitle" /> <FormattedMessage id="credits.soundsTitle" />

View file

@ -70,28 +70,28 @@ class Download extends React.Component {
alt="" alt=""
src="/svgs/extensions/windows.svg" src="/svgs/extensions/windows.svg"
/> />
Windows 10+ Windows 10+
</span> </span>
<span> <span>
<img <img
alt="" alt=""
src="/svgs/extensions/mac.svg" src="/svgs/extensions/mac.svg"
/> />
macOS 10.13+ macOS 10.13+
</span> </span>
<span> <span>
<img <img
alt="" alt=""
src="/svgs/extensions/chromeos.svg" src="/svgs/extensions/chromeos.svg"
/> />
ChromeOS ChromeOS
</span> </span>
<span> <span>
<img <img
alt="" alt=""
src="/svgs/extensions/android.svg" src="/svgs/extensions/android.svg"
/> />
Android 6.0+ Android 6.0+
</span> </span>
</FlexRow> </FlexRow>
</FlexRow> </FlexRow>

View file

@ -52,7 +52,7 @@ class EV3 extends ExtensionLanding {
rel="noopener noreferrer" rel="noopener noreferrer"
target="_blank" target="_blank"
> >
LEGO MINDSTORMS Education EV3 LEGO MINDSTORMS Education EV3
</a> </a>
) )
}} }}
@ -115,7 +115,7 @@ class EV3 extends ExtensionLanding {
rel="noopener noreferrer" rel="noopener noreferrer"
target="_blank" target="_blank"
> >
Scratch Scratch
</a> </a>
) )
}} }}

View file

@ -91,7 +91,7 @@ const Research = props => (
<a href="https://dl.acm.org/citation.cfm?id=2441776.2441893"> <a href="https://dl.acm.org/citation.cfm?id=2441776.2441893">
The cost of collaboration for code and art: Evidence from a remixing community. The cost of collaboration for code and art: Evidence from a remixing community.
</a> Forthcoming in <i>Proceedings of the ACM Conference{' '} </a> Forthcoming in <i>Proceedings of the ACM Conference{' '}
on Computer Supported Cooperative Work (CSCW &apos;13)</i>.{' '} on Computer Supported Cooperative Work (CSCW &apos;13)</i>.{' '}
San Antonio, Texas, USA: ACM. Best Paper Award [ San Antonio, Texas, USA: ACM. Best Paper Award [
<a href="https://dl.acm.org/citation.cfm?id=2441776.2441893"> <a href="https://dl.acm.org/citation.cfm?id=2441776.2441893">
Official Link Official Link
@ -325,7 +325,7 @@ const Research = props => (
<a href="http://download.scratch.mit.edu/idc07.pdf"> <a href="http://download.scratch.mit.edu/idc07.pdf">
ScratchR: sharing user-generated programmable media ScratchR: sharing user-generated programmable media
</a>. In <em>Proceedings of the 6th international conference{' '} </a>. In <em>Proceedings of the 6th international conference{' '}
on Interaction design and children</em>{' '} on Interaction design and children</em>{' '}
(IDC &apos;07). ACM, New York, NY, USA,{' '} (IDC &apos;07). ACM, New York, NY, USA,{' '}
<a href="http://doi.acm.org/10.1145/1297277.1297315"> <a href="http://doi.acm.org/10.1145/1297277.1297315">
167-168 167-168

View file

@ -76,7 +76,7 @@ const Terms = () => (
</p> </p>
<p> <p>
2.4 Account names cannot be changed. If you want a different account name, 2.4 Account names cannot be changed. If you want a different account name,
create a new account and copy your existing projects over by hand. create a new account and copy your existing projects over by hand.
</p> </p>
<p> <p>
2.5 If you have reason to believe that your account is no longer secure 2.5 If you have reason to believe that your account is no longer secure
@ -91,52 +91,52 @@ const Terms = () => (
<h3>3. Rules of Usage</h3> <h3>3. Rules of Usage</h3>
<p> <p>
3.1 The Scratch Team supports freedom of expression. However, Scratch is 3.1 The Scratch Team supports freedom of expression. However, Scratch is
intended for a wide audience, and some content is inappropriate for the intended for a wide audience, and some content is inappropriate for the
Scratch community. You may not use the Scratch service in any way, that: Scratch community. You may not use the Scratch service in any way, that:
<ol> <ol>
<li> <li>
Promotes bigotry, discrimination, hatred, or violence against any Promotes bigotry, discrimination, hatred, or violence against any
individual or group; individual or group;
</li> </li>
<li> <li>
Threatens, harasses, or intimidates any other person, whether that Threatens, harasses, or intimidates any other person, whether that
person is a Scratch user or not; person is a Scratch user or not;
</li> </li>
<li>Contains foul language or personal attacks;</li> <li>Contains foul language or personal attacks;</li>
<li>Contains sexually explicit or graphically violent material;</li> <li>Contains sexually explicit or graphically violent material;</li>
<li> <li>
Provides instructions on how to commit illegal activities or obtain Provides instructions on how to commit illegal activities or obtain
illegal products; illegal products;
</li> </li>
<li> <li>
Except in connection with organizing Scratch day events, asks any Except in connection with organizing Scratch day events, asks any
other user for personally identifying information, contact other user for personally identifying information, contact
information, or passwords; or information, or passwords; or
</li> </li>
<li> <li>
Exposes any others person&#39;s personally identifying information, Exposes any others person&#39;s personally identifying information,
contact information, or passwords without that person&#39;s permission. contact information, or passwords without that person&#39;s permission.
</li> </li>
</ol> </ol>
</p> </p>
<p> <p>
3.3 You agree to comply with all applicable laws and regulations when you use 3.3 You agree to comply with all applicable laws and regulations when you use
Scratch. You may not use Scratch in any unlawful way, including to harass, Scratch. You may not use Scratch in any unlawful way, including to harass,
stalk, or defame any other person. stalk, or defame any other person.
</p> </p>
<p> <p>
3.4 You may not impersonate, imitate or pretend to be somebody else when using 3.4 You may not impersonate, imitate or pretend to be somebody else when using
the Services. the Services.
</p> </p>
<p> <p>
3.5 You agree not to use Scratch in any way intended to disrupt the service, 3.5 You agree not to use Scratch in any way intended to disrupt the service,
gain unauthorized access to the service, or interfere with any other user&#39;s gain unauthorized access to the service, or interfere with any other user&#39;s
ability to use the service. Prohibited activities include, but are not limited ability to use the service. Prohibited activities include, but are not limited
to: to:
<ol> <ol>
<li> <li>
Posting content deliberately designed to crash the Scratch Posting content deliberately designed to crash the Scratch
website or editor; website or editor;
</li> </li>
<li> <li>
Linking to pages containing viruses or malware; Linking to pages containing viruses or malware;
@ -149,8 +149,8 @@ const Terms = () => (
</li> </li>
<li> <li>
Using alternate accounts or organizing voting groups to manipulate Using alternate accounts or organizing voting groups to manipulate
site statistics, such as purposely trying to get on the &#34;What the site statistics, such as purposely trying to get on the &#34;What the
Community is Loving/Remixing&#34; rows of the front page. Community is Loving/Remixing&#34; rows of the front page.
</li> </li>
</ol> </ol>
</p> </p>
@ -158,7 +158,7 @@ const Terms = () => (
3.6 Commercial use of Scratch, user-generated content, and support 3.6 Commercial use of Scratch, user-generated content, and support
materials is permitted under the{' '} materials is permitted under the{' '}
<a href="https://creativecommons.org/licenses/by-sa/2.0/"> <a href="https://creativecommons.org/licenses/by-sa/2.0/">
Creative Commons Attribution-ShareAlike 2.0 license</a>. However, Creative Commons Attribution-ShareAlike 2.0 license</a>. However,
the Scratch Team reserves the right to block any commercial use the Scratch Team reserves the right to block any commercial use
of Scratch that, in the Scratch Team&#39;s sole discretion, is harmful of Scratch that, in the Scratch Team&#39;s sole discretion, is harmful
to the community. Harmful commercial use includes spamming or to the community. Harmful commercial use includes spamming or
@ -174,22 +174,22 @@ const Terms = () => (
<h3>4. User-Generated Content and Licensing</h3> <h3>4. User-Generated Content and Licensing</h3>
<p> <p>
4.1 For the purposes of the Terms of Use, &#34;user-generated content&#34; 4.1 For the purposes of the Terms of Use, &#34;user-generated content&#34;
includes any projects, comments, forum posts, or links to third includes any projects, comments, forum posts, or links to third
party websites that a user submits to Scratch. party websites that a user submits to Scratch.
</p> </p>
<p> <p>
4.2 The Scratch Team encourages everyone to foster creativity by 4.2 The Scratch Team encourages everyone to foster creativity by
freely sharing code, art, music, and other works. However, we freely sharing code, art, music, and other works. However, we
also understand the need for individuals and companies to protect also understand the need for individuals and companies to protect
their intellectual property rights. You are responsible for making their intellectual property rights. You are responsible for making
sure you have the necessary rights, licenses, or permission for sure you have the necessary rights, licenses, or permission for
any user-generated content you submit to Scratch. any user-generated content you submit to Scratch.
</p> </p>
<p> <p>
4.3 All user-generated content you submit to Scratch is licensed 4.3 All user-generated content you submit to Scratch is licensed
to and through Scratch under the{' '} to and through Scratch under the{' '}
<a href="https://creativecommons.org/licenses/by-sa/2.0/"> <a href="https://creativecommons.org/licenses/by-sa/2.0/">
Creative Commons Attribution-ShareAlike 2.0 license</a>. This Creative Commons Attribution-ShareAlike 2.0 license</a>. This
allows others to view and remix your content. This license also allows others to view and remix your content. This license also
allows the Scratch Team to display, distribute, and reproduce allows the Scratch Team to display, distribute, and reproduce
your content on the Scratch website, through social media your content on the Scratch website, through social media
@ -198,39 +198,39 @@ const Terms = () => (
</p> </p>
<p> <p>
4.4 You may only submit user-generated projects that were created 4.4 You may only submit user-generated projects that were created
with (1) the Scratch website editor or (2) an unmodified copy of with (1) the Scratch website editor or (2) an unmodified copy of
the Scratch editor compiled from the source code described in the Scratch editor compiled from the source code described in
Section 5.3. You may not upload any projects that were created, by Section 5.3. You may not upload any projects that were created, by
you or by anyone else, with a modified version of the Scratch editor. you or by anyone else, with a modified version of the Scratch editor.
</p> </p>
<p> <p>
4.5 Although the Scratch Team requires all users to comply with 4.5 Although the Scratch Team requires all users to comply with
these Terms of Use, some inappropriate user-generated content these Terms of Use, some inappropriate user-generated content
may be submitted and displayed on the Scratch website. You may be submitted and displayed on the Scratch website. You
understand that when you use Scratch you may be exposed to understand that when you use Scratch you may be exposed to
user-generated content that you find objectionable or offensive. user-generated content that you find objectionable or offensive.
If you see any content that violates the Community Guidelines If you see any content that violates the Community Guidelines
or Terms of Use, please let us know by using the &#34;Report this&#34; or Terms of Use, please let us know by using the &#34;Report this&#34;
button. You only need to report an item once. The Scratch Team button. You only need to report an item once. The Scratch Team
reviews reported content every day. reviews reported content every day.
</p> </p>
<p> <p>
4.6 In addition to reviewing reported user-generated content, the 4.6 In addition to reviewing reported user-generated content, the
Scratch Team reserves the right, but is not obligated, to monitor Scratch Team reserves the right, but is not obligated, to monitor
all uses of the Scratch service. The Scratch Team may edit, move, all uses of the Scratch service. The Scratch Team may edit, move,
or delete any content that violates the Terms of Use or Community or delete any content that violates the Terms of Use or Community
Guidelines, without notice. Guidelines, without notice.
</p> </p>
<p> <p>
4.7 All user-generated content is provided as-is. The Scratch Team 4.7 All user-generated content is provided as-is. The Scratch Team
makes no warranties about the accuracy or reliability of any makes no warranties about the accuracy or reliability of any
user-generated content available through Scratch and does not user-generated content available through Scratch and does not
endorse Scratch Day events or vet or verify information posted in endorse Scratch Day events or vet or verify information posted in
connection with said events. The Scratch Team does not endorse any connection with said events. The Scratch Team does not endorse any
views, opinions, or advice expressed in user-generated content. You views, opinions, or advice expressed in user-generated content. You
agree to relieve the Scratch Team of any and all liability arising agree to relieve the Scratch Team of any and all liability arising
from your user-generated content and from Scratch Day events you from your user-generated content and from Scratch Day events you
may organize or host. may organize or host.
</p> </p>
</section> </section>
<section id="scratch-content"> <section id="scratch-content">
@ -238,20 +238,20 @@ const Terms = () => (
<h3>5. Scratch Content and Licensing</h3> <h3>5. Scratch Content and Licensing</h3>
<p> <p>
5.1 Except for any user-generated content, the Scratch Team owns and 5.1 Except for any user-generated content, the Scratch Team owns and
retains all rights in and to the Scratch code, the design, retains all rights in and to the Scratch code, the design,
functionality, and architecture of Scratch, and any software or functionality, and architecture of Scratch, and any software or
content provided through Scratch (collectively &#34;the Scratch IP&#34;). content provided through Scratch (collectively &#34;the Scratch IP&#34;).
If you want to use Scratch in a way that is not allowed by these If you want to use Scratch in a way that is not allowed by these
Terms of Use, you must first contact the Scratch Team. Except for Terms of Use, you must first contact the Scratch Team. Except for
any rights explicitly granted under these Terms of Use, you are not any rights explicitly granted under these Terms of Use, you are not
granted any rights in and to any Scratch IP. granted any rights in and to any Scratch IP.
</p> </p>
<p> <p>
5.2 Scratch provides support materials, including images, sounds, 5.2 Scratch provides support materials, including images, sounds,
video, and sample code, to help users build projects. Support materials video, and sample code, to help users build projects. Support materials
are licensed under the{' '} are licensed under the{' '}
<a href="https://creativecommons.org/licenses/by-sa/2.0/"> <a href="https://creativecommons.org/licenses/by-sa/2.0/">
Creative Commons Attribution-ShareAlike 2.0 license</a>. You may also Creative Commons Attribution-ShareAlike 2.0 license</a>. You may also
use screenshots of Scratch under the same license. Please note that use screenshots of Scratch under the same license. Please note that
this does not apply to materials that are also trademarked by the this does not apply to materials that are also trademarked by the
Scratch Team or other parties as described in parts 5.4 and 5.5, below. Scratch Team or other parties as described in parts 5.4 and 5.5, below.
@ -270,23 +270,23 @@ const Terms = () => (
</p> </p>
<p> <p>
5.4 The Scratch name, Scratch logo, Scratch Day logo, Scratch Cat, and Gobo 5.4 The Scratch name, Scratch logo, Scratch Day logo, Scratch Cat, and Gobo
are Trademarks owned by the Scratch Team. The MIT name and logo are Trademarks are Trademarks owned by the Scratch Team. The MIT name and logo are Trademarks
owned by the Massachusetts Institute of Technology. Unless you are licensed by owned by the Massachusetts Institute of Technology. Unless you are licensed by
Scratch under a specific licensing program or agreement, you may not use Scratch under a specific licensing program or agreement, you may not use
these logos to label, promote, or endorse any product or service. You may use these logos to label, promote, or endorse any product or service. You may use
the Scratch Logo to refer to the Scratch website and programming language. the Scratch Logo to refer to the Scratch website and programming language.
</p> </p>
<p> <p>
5.5 The Scratch support materials library may contain images and sounds that 5.5 The Scratch support materials library may contain images and sounds that
are trademarked by third parties. The fact that materials are included in are trademarked by third parties. The fact that materials are included in
the Scratch support materials library does not in any way limit or reduce the Scratch support materials library does not in any way limit or reduce
intellectual property rights, including trademark rights, otherwise intellectual property rights, including trademark rights, otherwise
available to the materials&#39; owners. Nothing in these Terms of Use or the available to the materials&#39; owners. Nothing in these Terms of Use or the
Creative Commons 2.0 license will be construed to limit or reduce any Creative Commons 2.0 license will be construed to limit or reduce any
party&#39;s rights in that party&#39;s valid trademarks. You may not use these party&#39;s rights in that party&#39;s valid trademarks. You may not use these
materials to label, promote, or endorse any product or service. You are materials to label, promote, or endorse any product or service. You are
solely responsible for any violation of a third party&#39;s intellectual solely responsible for any violation of a third party&#39;s intellectual
property rights caused by your misuse of these materials. property rights caused by your misuse of these materials.
</p> </p>
</section> </section>
<section id="dmca"> <section id="dmca">
@ -323,15 +323,15 @@ const Terms = () => (
<h3>7. Suspension and Termination of Accounts</h3> <h3>7. Suspension and Termination of Accounts</h3>
<p> <p>
7.1 Scratch has the right to suspend your account for violations of the 7.1 Scratch has the right to suspend your account for violations of the
Terms of Use or Community Guidelines. Repeat violators may have their Terms of Use or Community Guidelines. Repeat violators may have their
account deleted. The Scratch Team reserves the sole right to determine account deleted. The Scratch Team reserves the sole right to determine
what constitutes a violation of the Terms of Use or Community Guidelines. what constitutes a violation of the Terms of Use or Community Guidelines.
The Scratch Team also reserves the right to terminate any account used The Scratch Team also reserves the right to terminate any account used
to circumvent prior enforcement of the Terms of Use. to circumvent prior enforcement of the Terms of Use.
</p> </p>
<p> <p>
7.2 If you want to delete or temporarily disable your account, please 7.2 If you want to delete or temporarily disable your account, please
email <a href="mailto:help@scratch.mit.edu">help@scratch.mit.edu</a>. email <a href="mailto:help@scratch.mit.edu">help@scratch.mit.edu</a>.
</p> </p>
</section> </section>
<section id="third-party"> <section id="third-party">
@ -339,11 +339,11 @@ const Terms = () => (
<h3>8. Third Party Websites</h3> <h3>8. Third Party Websites</h3>
<p> <p>
8.1 Content on Scratch, including user-generated content, may include 8.1 Content on Scratch, including user-generated content, may include
links to third party websites. The Scratch Team is not capable of links to third party websites. The Scratch Team is not capable of
reviewing or managing third party websites, and assumes no reviewing or managing third party websites, and assumes no
responsibility for the privacy practices, content, or functionality responsibility for the privacy practices, content, or functionality
of third party websites. You agree to relieve the Scratch Team of of third party websites. You agree to relieve the Scratch Team of
any and all liability arising from third party websites. any and all liability arising from third party websites.
</p> </p>
</section> </section>
<section id="indemnification"> <section id="indemnification">
@ -351,21 +351,21 @@ const Terms = () => (
<h3>9. Indemnification</h3> <h3>9. Indemnification</h3>
<p> <p>
You agree to indemnify MIT, the Scratch Team, the Scratch Foundation, You agree to indemnify MIT, the Scratch Team, the Scratch Foundation,
and all their affiliates, employees, faculty members, fellows, and all their affiliates, employees, faculty members, fellows,
students, agents, representatives, third party service providers, students, agents, representatives, third party service providers,
and members of their governing boards (all of which are &#34;Scratch and members of their governing boards (all of which are &#34;Scratch
Entities&#34;), and to defend and hold each of them harmless, from any Entities&#34;), and to defend and hold each of them harmless, from any
and all claims and liabilities (including attorneys{'\''} fees) arising and all claims and liabilities (including attorneys{'\''} fees) arising
out of or related to your breach of the Terms of Service or your out of or related to your breach of the Terms of Service or your
use of Scratch. use of Scratch.
</p> </p>
<p> <p>
For federal government agencies, provisions in the Terms of Use For federal government agencies, provisions in the Terms of Use
relating to Indemnification shall not apply to your Official Use, relating to Indemnification shall not apply to your Official Use,
except to the extent expressly authorized by federal law. For except to the extent expressly authorized by federal law. For
state and local government agencies in the United States, Terms state and local government agencies in the United States, Terms
of Use relating to Indemnification shall apply to your Official of Use relating to Indemnification shall apply to your Official
Use only to the extent authorized by the laws of your jurisdiction. Use only to the extent authorized by the laws of your jurisdiction.
</p> </p>
</section> </section>
<section id="disclaimer"> <section id="disclaimer">
@ -373,21 +373,21 @@ const Terms = () => (
<h3>10. Disclaimer of Warranty</h3> <h3>10. Disclaimer of Warranty</h3>
<p><b> <p><b>
You acknowledge that you are using Scratch at your own risk. Scratch You acknowledge that you are using Scratch at your own risk. Scratch
is provided &#34;as is,&#34; and the Scratch Entities hereby expressly is provided &#34;as is,&#34; and the Scratch Entities hereby expressly
disclaim any and all warranties, express and implied, including but disclaim any and all warranties, express and implied, including but
not limited to any warranties of accuracy, reliability, title, not limited to any warranties of accuracy, reliability, title,
merchantability, non-infringement, fitness for a particular purpose merchantability, non-infringement, fitness for a particular purpose
or any other warranty, condition, guarantee or representation, or any other warranty, condition, guarantee or representation,
whether oral, in writing or in electronic form, including but not whether oral, in writing or in electronic form, including but not
limited to the accuracy or completeness of any information contained limited to the accuracy or completeness of any information contained
therein or provided by Scratch. Without limiting the foregoing, the therein or provided by Scratch. Without limiting the foregoing, the
Scratch Entities disclaim any and all warranties, express and implied, Scratch Entities disclaim any and all warranties, express and implied,
regarding user-generated content and Scratch Day events. The Scratch regarding user-generated content and Scratch Day events. The Scratch
Entities and their third party service providers do not represent or Entities and their third party service providers do not represent or
warrant that access to Scratch will be uninterrupted or that there warrant that access to Scratch will be uninterrupted or that there
will be no failures, errors or omissions or loss of transmitted will be no failures, errors or omissions or loss of transmitted
information, or that no viruses will be transmitted through Scratch information, or that no viruses will be transmitted through Scratch
services. services.
</b></p> </b></p>
</section> </section>
<section id="liability"> <section id="liability">
@ -395,13 +395,13 @@ const Terms = () => (
<h3>11. Limitation of Liability</h3> <h3>11. Limitation of Liability</h3>
<p><b> <p><b>
The Scratch Entities shall not be liable to you or any third parties The Scratch Entities shall not be liable to you or any third parties
for any direct, indirect, special, consequential or punitive damages for any direct, indirect, special, consequential or punitive damages
of any kind, regardless of the type of claim or the nature of the of any kind, regardless of the type of claim or the nature of the
cause of action, even if the Scratch Team has been advised of the cause of action, even if the Scratch Team has been advised of the
possibility of such damages. Without limiting the foregoing, the possibility of such damages. Without limiting the foregoing, the
Scratch Entites shall have no liability to you or any third parties Scratch Entites shall have no liability to you or any third parties
for damages or harms arising out of user-generated content or for damages or harms arising out of user-generated content or
Scratch Day events. Scratch Day events.
</b></p> </b></p>
</section> </section>
<section id="jurisdiction"> <section id="jurisdiction">
@ -409,9 +409,9 @@ const Terms = () => (
<h3>12. Jurisdiction</h3> <h3>12. Jurisdiction</h3>
<p> <p>
Scratch is offered by the Scratch Team from its facilities in the United Scratch is offered by the Scratch Team from its facilities in the United
States. The Scratch Team makes no representations that Scratch is States. The Scratch Team makes no representations that Scratch is
appropriate or available for use in other locations. Those who access appropriate or available for use in other locations. Those who access
or use Scratch are responsible for compliance with local law. or use Scratch are responsible for compliance with local law.
</p> </p>
</section> </section>
<section id="choice-of-law"> <section id="choice-of-law">
@ -419,23 +419,23 @@ const Terms = () => (
<h3>13. Choice of Law and Venue</h3> <h3>13. Choice of Law and Venue</h3>
<p> <p>
You agree that these Terms of Use, for all purposes, shall be governed You agree that these Terms of Use, for all purposes, shall be governed
and construed in accordance with the laws of the Commonwealth of and construed in accordance with the laws of the Commonwealth of
Massachusetts applicable to contracts to be wholly performed therein, Massachusetts applicable to contracts to be wholly performed therein,
and any action based on, relating to, or alleging a breach of the and any action based on, relating to, or alleging a breach of the
Terms of Use must be brought in a state or federal court in Suffolk Terms of Use must be brought in a state or federal court in Suffolk
County, Massachusetts. In addition, both parties agree to submit to County, Massachusetts. In addition, both parties agree to submit to
the exclusive personal jurisdiction and venue of such courts. the exclusive personal jurisdiction and venue of such courts.
</p> </p>
<p> <p>
If you are a federal, state, or local government entity in the United If you are a federal, state, or local government entity in the United
States using Scratch in your official capacity and legally unable to States using Scratch in your official capacity and legally unable to
accept the controlling law, jurisdiction or venue clauses above, then accept the controlling law, jurisdiction or venue clauses above, then
those clauses do not apply to you. For such U.S. federal government those clauses do not apply to you. For such U.S. federal government
entities, these Terms and any action related thereto will be governed entities, these Terms and any action related thereto will be governed
by the laws of the United States of America (without reference to by the laws of the United States of America (without reference to
conflict of laws) and, in the absence of federal law and to the extent conflict of laws) and, in the absence of federal law and to the extent
permitted under federal law, the laws of the Commonwealth of permitted under federal law, the laws of the Commonwealth of
Massachusetts (excluding choice of law). Massachusetts (excluding choice of law).
</p> </p>
</section> </section>
<section id="choice-of-language"> <section id="choice-of-language">
@ -443,11 +443,11 @@ const Terms = () => (
<h3>14. Choice of Language</h3> <h3>14. Choice of Language</h3>
<p> <p>
If the Scratch Team provides you with a translation of the English language If the Scratch Team provides you with a translation of the English language
version of these Terms of Use, the Privacy Policy, or any other policy, version of these Terms of Use, the Privacy Policy, or any other policy,
then you agree that the translation is provided for informational purposes then you agree that the translation is provided for informational purposes
only and does not modify the English language version. In the event of a only and does not modify the English language version. In the event of a
conflict between a translation and the English version, the English version conflict between a translation and the English version, the English version
will govern. will govern.
</p> </p>
</section> </section>
<section id="no-waiver"> <section id="no-waiver">
@ -455,9 +455,9 @@ const Terms = () => (
<h3>15. No Waiver</h3> <h3>15. No Waiver</h3>
<p> <p>
No waiver of any term of these Terms of Use shall be deemed a further or No waiver of any term of these Terms of Use shall be deemed a further or
continuing waiver of such term or any other term, and the Scratch Team&#39;s continuing waiver of such term or any other term, and the Scratch Team&#39;s
failure to assert any right or provision under these Terms of Use shall failure to assert any right or provision under these Terms of Use shall
not constitute a waiver of such right or provision. not constitute a waiver of such right or provision.
</p> </p>
</section> </section>
<section id="entire-agreement"> <section id="entire-agreement">
@ -465,8 +465,8 @@ const Terms = () => (
<h3>16. Entire Agreement</h3> <h3>16. Entire Agreement</h3>
<p> <p>
This document, together with all appendices, constitutes the entire Terms This document, together with all appendices, constitutes the entire Terms
of Use and supersedes all previous agreements with the Scratch Team relating of Use and supersedes all previous agreements with the Scratch Team relating
to the use of Scratch. Revision date: April 2016. to the use of Scratch. Revision date: April 2016.
</p> </p>
</section> </section>
<section id="appendix-a"> <section id="appendix-a">
@ -474,33 +474,33 @@ const Terms = () => (
<h3>Appendix A: Additional Terms for Scratch Day Website</h3> <h3>Appendix A: Additional Terms for Scratch Day Website</h3>
<p> <p>
The following additional terms also govern your access to and use of web The following additional terms also govern your access to and use of web
pages hosted within day.scratch.mit.edu/ (collectively, the Scratch Day pages hosted within day.scratch.mit.edu/ (collectively, the Scratch Day
Site). All of the terms set forth in the general Terms of Use above also Site). All of the terms set forth in the general Terms of Use above also
apply to the Scratch Day Site, unless we clearly state otherwise. apply to the Scratch Day Site, unless we clearly state otherwise.
</p> </p>
<h4>1. Privacy Policy</h4> <h4>1. Privacy Policy</h4>
<p> <p>
The Scratch Day Site Privacy Policy, not the Scratch Privacy Policy, The Scratch Day Site Privacy Policy, not the Scratch Privacy Policy,
describes how the Scratch Team uses, collects, and stores information describes how the Scratch Team uses, collects, and stores information
it collects through the Scratch Day Site. By using the Scratch Day it collects through the Scratch Day Site. By using the Scratch Day
Site, you agree that you are comfortable with the Privacy Policy. Site, you agree that you are comfortable with the Privacy Policy.
</p> </p>
<h4>2. Account Creation and Maintenance</h4> <h4>2. Account Creation and Maintenance</h4>
<p> <p>
2.1 In order to post an event to the Scratch Day Site, you will need 2.1 In order to post an event to the Scratch Day Site, you will need
to register and create an account. This account is a separate account to register and create an account. This account is a separate account
from your Scratch account. All registrants must be over 18 years of from your Scratch account. All registrants must be over 18 years of
age. When registering for a personal account, you will be asked to age. When registering for a personal account, you will be asked to
provide certain personal information, such as your email address, provide certain personal information, such as your email address,
first and last name, and Scratch username (optional). Please see the first and last name, and Scratch username (optional). Please see the
Scratch Day Site Privacy Policy for Scratchs data retention and usage Scratch Day Site Privacy Policy for Scratchs data retention and usage
policies. policies.
</p> </p>
<p> <p>
2.2 You are responsible for keeping your password secret and your account 2.2 You are responsible for keeping your password secret and your account
secure. You are solely responsible for any use of your account, even if secure. You are solely responsible for any use of your account, even if
your account is used by another person. If any use of your account your account is used by another person. If any use of your account
violates the Terms of Use, your account may be suspended or deleted. violates the Terms of Use, your account may be suspended or deleted.
</p> </p>
<p> <p>
2.3 If you have reason to believe that your account is no longer secure 2.3 If you have reason to believe that your account is no longer secure
@ -517,9 +517,9 @@ const Terms = () => (
<h4>3. No Endorsement</h4> <h4>3. No Endorsement</h4>
<p> <p>
You understand that neither MIT, nor the Scratch Team, nor the Code to You understand that neither MIT, nor the Scratch Team, nor the Code to
Learn Foundation endorses any Scratch Day event. If you are hosting a Learn Foundation endorses any Scratch Day event. If you are hosting a
Scratch Day event, you may not state or imply that MIT, the Scratch Scratch Day event, you may not state or imply that MIT, the Scratch
Team, or the Code to Learn Foundation has endorsed your event. Team, or the Code to Learn Foundation has endorsed your event.
</p> </p>
</section> </section>
<section id="appendix-b"> <section id="appendix-b">
@ -527,34 +527,34 @@ const Terms = () => (
<h3>Appendix B: Additional Terms for ScratchX Website</h3> <h3>Appendix B: Additional Terms for ScratchX Website</h3>
<p> <p>
The following additional terms also govern your access to and use of web The following additional terms also govern your access to and use of web
pages hosted within scratchx.org (collectively, the ScratchX Site). pages hosted within scratchx.org (collectively, the ScratchX Site).
All of the terms set forth in the general Terms of Use above also apply All of the terms set forth in the general Terms of Use above also apply
to the ScratchX Site, unless we clearly state otherwise. to the ScratchX Site, unless we clearly state otherwise.
</p> </p>
<h4>1. ScratchX and GitHub</h4> <h4>1. ScratchX and GitHub</h4>
<p> <p>
The ScratchX Site provides a platform for developers to link their The ScratchX Site provides a platform for developers to link their
experimental extensions to Scratch. However, we do not host those experimental extensions to Scratch. However, we do not host those
extensions or save them on the ScratchX site. All the extensions loaded extensions or save them on the ScratchX site. All the extensions loaded
on to ScratchX are hosted publicly on independent developers accounts on to ScratchX are hosted publicly on independent developers accounts
on GitHub. Your use of GitHub is subject to GitHubs Terms of Service on GitHub. Your use of GitHub is subject to GitHubs Terms of Service
and Privacy. and Privacy.
</p> </p>
<h4>2. Privacy Policy</h4> <h4>2. Privacy Policy</h4>
<p> <p>
The ScratchX Site Privacy Policy, not the Scratch Privacy Policy, The ScratchX Site Privacy Policy, not the Scratch Privacy Policy,
describes how the Scratch Team uses, collects, and stores information describes how the Scratch Team uses, collects, and stores information
it collects through the ScratchX Site. By using the ScratchX Site, you it collects through the ScratchX Site. By using the ScratchX Site, you
agree to the terms of the Privacy Policy. agree to the terms of the Privacy Policy.
</p> </p>
<h4>3. No Endorsement</h4> <h4>3. No Endorsement</h4>
<p> <p>
By using ScratchX, you understand that neither MIT, nor the Scratch Team, By using ScratchX, you understand that neither MIT, nor the Scratch Team,
nor the Code to Learn Foundation endorses any ScratchX experimental nor the Code to Learn Foundation endorses any ScratchX experimental
extension. If you are a developer linking to your own experimental extension. If you are a developer linking to your own experimental
extension via the ScratchX site, you may not state or imply that MIT, extension via the ScratchX site, you may not state or imply that MIT,
the Scratch Team, or the Code to Learn Foundation has endorsed your the Scratch Team, or the Code to Learn Foundation has endorsed your
extension. extension.
</p> </p>
</section> </section>
<p><b>The Scratch Terms of Use was last updated: April 2016</b></p> <p><b>The Scratch Terms of Use was last updated: April 2016</b></p>

View file

@ -10,6 +10,6 @@ module.exports = {
{ {
allowParens: true allowParens: true
} }
], ]
} }
}; };

View file

@ -10,7 +10,7 @@ describe('OSChooser', () => {
component.find('button').last() component.find('button').last()
.simulate('click'); .simulate('click');
expect(onSetOs).toBeCalledWith('Android'); expect(onSetOs).toHaveBeenCalledWith('Android');
}); });
test('has all 4 operating systems', () => { test('has all 4 operating systems', () => {