diff --git a/src/components/microworld/microworld.jsx b/src/components/microworld/microworld.jsx index b4d86b3d8..578424384 100644 --- a/src/components/microworld/microworld.jsx +++ b/src/components/microworld/microworld.jsx @@ -258,7 +258,7 @@ class Microworld extends React.Component { ) } /> - ` + ` ); } diff --git a/src/components/modal/mute/feedback-form.jsx b/src/components/modal/mute/feedback-form.jsx index c72bbcbe4..1a0913a14 100644 --- a/src/components/modal/mute/feedback-form.jsx +++ b/src/components/modal/mute/feedback-form.jsx @@ -70,7 +70,7 @@ class FeedbackForm extends React.Component { autoComplete="off" autoCorrect="off" className={classNames( - 'compose-feedback', + 'compose-feedback' )} component="textarea" error={errors.feedback} diff --git a/src/components/modal/mute/modal.jsx b/src/components/modal/mute/modal.jsx index 6ee6aefa3..b416b22da 100644 --- a/src/components/modal/mute/modal.jsx +++ b/src/components/modal/mute/modal.jsx @@ -222,7 +222,7 @@ class MuteModal extends React.Component { {this.state.step > 0 && this.state.step < steps.USER_FEEDBACK ? (
@@ -141,9 +141,9 @@ const Credits = () => (- Natalie Rosalinda Hall, Wren McDonald, Leigh McG, Andrew Rae, Daria - Skrybchenko, Robert Hunter, Alex Eben Meyer, Ding Ding Hu, Owen - Davey, Zoë Bentley, DD Liu, Kristin Osiecki, Kathy Wu. + Natalie Rosalinda Hall, Wren McDonald, Leigh McG, Andrew Rae, Daria + Skrybchenko, Robert Hunter, Alex Eben Meyer, Ding Ding Hu, Owen + Davey, Zoë Bentley, DD Liu, Kristin Osiecki, Kathy Wu.
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.
2.5 If you have reason to believe that your account is no longer secure @@ -91,52 +91,52 @@ const Terms = () => (
3.1 The Scratch Team supports freedom of expression. However, Scratch is - 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: + 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:
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, - stalk, or defame any other person. + Scratch. You may not use Scratch in any unlawful way, including to harass, + stalk, or defame any other person.
3.4 You may not impersonate, imitate or pretend to be somebody else when using - the Services. + the Services.
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's - ability to use the service. Prohibited activities include, but are not limited - to: + gain unauthorized access to the service, or interfere with any other user's + ability to use the service. Prohibited activities include, but are not limited + to:
4.1 For the purposes of the Terms of Use, "user-generated content" - includes any projects, comments, forum posts, or links to third - party websites that a user submits to Scratch. + includes any projects, comments, forum posts, or links to third + party websites that a user submits to Scratch.
4.2 The Scratch Team encourages everyone to foster creativity by - freely sharing code, art, music, and other works. However, we - also understand the need for individuals and companies to protect - their intellectual property rights. You are responsible for making - sure you have the necessary rights, licenses, or permission for - any user-generated content you submit to Scratch. + freely sharing code, art, music, and other works. However, we + also understand the need for individuals and companies to protect + their intellectual property rights. You are responsible for making + sure you have the necessary rights, licenses, or permission for + any user-generated content you submit to Scratch.
4.3 All user-generated content you submit to Scratch is licensed to and through Scratch under the{' '} - Creative Commons Attribution-ShareAlike 2.0 license. This + Creative Commons Attribution-ShareAlike 2.0 license. This allows others to view and remix your content. This license also allows the Scratch Team to display, distribute, and reproduce your content on the Scratch website, through social media @@ -198,39 +198,39 @@ const Terms = () => (
4.4 You may only submit user-generated projects that were created - with (1) the Scratch website editor or (2) an unmodified copy of - the Scratch editor compiled from the source code described in - 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. + with (1) the Scratch website editor or (2) an unmodified copy of + the Scratch editor compiled from the source code described in + 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.
4.5 Although the Scratch Team requires all users to comply with - these Terms of Use, some inappropriate user-generated content - may be submitted and displayed on the Scratch website. You - understand that when you use Scratch you may be exposed to - user-generated content that you find objectionable or offensive. - If you see any content that violates the Community Guidelines - or Terms of Use, please let us know by using the "Report this" - button. You only need to report an item once. The Scratch Team - reviews reported content every day. + these Terms of Use, some inappropriate user-generated content + may be submitted and displayed on the Scratch website. You + understand that when you use Scratch you may be exposed to + user-generated content that you find objectionable or offensive. + If you see any content that violates the Community Guidelines + or Terms of Use, please let us know by using the "Report this" + button. You only need to report an item once. The Scratch Team + reviews reported content every day.
4.6 In addition to reviewing reported user-generated content, the - Scratch Team reserves the right, but is not obligated, to monitor - all uses of the Scratch service. The Scratch Team may edit, move, - or delete any content that violates the Terms of Use or Community - Guidelines, without notice. + Scratch Team reserves the right, but is not obligated, to monitor + all uses of the Scratch service. The Scratch Team may edit, move, + or delete any content that violates the Terms of Use or Community + Guidelines, without notice.
4.7 All user-generated content is provided as-is. The Scratch Team - makes no warranties about the accuracy or reliability of any - user-generated content available through Scratch and does not - endorse Scratch Day events or vet or verify information posted in - connection with said events. The Scratch Team does not endorse any - views, opinions, or advice expressed in user-generated content. You - agree to relieve the Scratch Team of any and all liability arising - from your user-generated content and from Scratch Day events you - may organize or host. + makes no warranties about the accuracy or reliability of any + user-generated content available through Scratch and does not + endorse Scratch Day events or vet or verify information posted in + connection with said events. The Scratch Team does not endorse any + views, opinions, or advice expressed in user-generated content. You + agree to relieve the Scratch Team of any and all liability arising + from your user-generated content and from Scratch Day events you + may organize or host.
5.1 Except for any user-generated content, the Scratch Team owns and - retains all rights in and to the Scratch code, the design, - functionality, and architecture of Scratch, and any software or - content provided through Scratch (collectively "the Scratch IP"). - 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 - any rights explicitly granted under these Terms of Use, you are not - granted any rights in and to any Scratch IP. + retains all rights in and to the Scratch code, the design, + functionality, and architecture of Scratch, and any software or + content provided through Scratch (collectively "the Scratch IP"). + 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 + any rights explicitly granted under these Terms of Use, you are not + granted any rights in and to any Scratch IP.
5.2 Scratch provides support materials, including images, sounds, video, and sample code, to help users build projects. Support materials are licensed under the{' '} - Creative Commons Attribution-ShareAlike 2.0 license. You may also + Creative Commons Attribution-ShareAlike 2.0 license. You may also use screenshots of Scratch under the same license. Please note that 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. @@ -270,23 +270,23 @@ const Terms = () => (
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 - owned by the Massachusetts Institute of Technology. Unless you are licensed by - 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 - the Scratch Logo to refer to the Scratch website and programming language. + 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 + 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 + the Scratch Logo to refer to the Scratch website and programming language.
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 - the Scratch support materials library does not in any way limit or reduce - intellectual property rights, including trademark rights, otherwise - available to the materials' owners. Nothing in these Terms of Use or the - Creative Commons 2.0 license will be construed to limit or reduce any - party's rights in that party's valid trademarks. You may not use these - materials to label, promote, or endorse any product or service. You are - solely responsible for any violation of a third party's intellectual - property rights caused by your misuse of these materials. + 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 + intellectual property rights, including trademark rights, otherwise + available to the materials' owners. Nothing in these Terms of Use or the + Creative Commons 2.0 license will be construed to limit or reduce any + party's rights in that party's valid trademarks. You may not use these + materials to label, promote, or endorse any product or service. You are + solely responsible for any violation of a third party's intellectual + property rights caused by your misuse of these materials.
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 - account deleted. The Scratch Team reserves the sole right to determine - what constitutes a violation of the Terms of Use or Community Guidelines. - The Scratch Team also reserves the right to terminate any account used - to circumvent prior enforcement of the Terms of Use. + Terms of Use or Community Guidelines. Repeat violators may have their + account deleted. The Scratch Team reserves the sole right to determine + what constitutes a violation of the Terms of Use or Community Guidelines. + The Scratch Team also reserves the right to terminate any account used + to circumvent prior enforcement of the Terms of Use.
7.2 If you want to delete or temporarily disable your account, please - email help@scratch.mit.edu. + email help@scratch.mit.edu.
8.1 Content on Scratch, including user-generated content, may include - links to third party websites. The Scratch Team is not capable of - reviewing or managing third party websites, and assumes no - responsibility for the privacy practices, content, or functionality - of third party websites. You agree to relieve the Scratch Team of - any and all liability arising from third party websites. + links to third party websites. The Scratch Team is not capable of + reviewing or managing third party websites, and assumes no + responsibility for the privacy practices, content, or functionality + of third party websites. You agree to relieve the Scratch Team of + any and all liability arising from third party websites.
You agree to indemnify MIT, the Scratch Team, the Scratch Foundation, - and all their affiliates, employees, faculty members, fellows, - students, agents, representatives, third party service providers, - and members of their governing boards (all of which are "Scratch - Entities"), and to defend and hold each of them harmless, from any - and all claims and liabilities (including attorneys{'\''} fees) arising - out of or related to your breach of the Terms of Service or your - use of Scratch. + and all their affiliates, employees, faculty members, fellows, + students, agents, representatives, third party service providers, + and members of their governing boards (all of which are "Scratch + Entities"), and to defend and hold each of them harmless, from any + and all claims and liabilities (including attorneys{'\''} fees) arising + out of or related to your breach of the Terms of Service or your + use of Scratch.
For federal government agencies, provisions in the Terms of Use - relating to Indemnification shall not apply to your Official Use, - except to the extent expressly authorized by federal law. For - state and local government agencies in the United States, Terms - of Use relating to Indemnification shall apply to your Official - Use only to the extent authorized by the laws of your jurisdiction. + relating to Indemnification shall not apply to your Official Use, + except to the extent expressly authorized by federal law. For + state and local government agencies in the United States, Terms + of Use relating to Indemnification shall apply to your Official + Use only to the extent authorized by the laws of your jurisdiction.
You acknowledge that you are using Scratch at your own risk. Scratch - is provided "as is," and the Scratch Entities hereby expressly - disclaim any and all warranties, express and implied, including but - not limited to any warranties of accuracy, reliability, title, - merchantability, non-infringement, fitness for a particular purpose - or any other warranty, condition, guarantee or representation, - whether oral, in writing or in electronic form, including but not - limited to the accuracy or completeness of any information contained - therein or provided by Scratch. Without limiting the foregoing, the - Scratch Entities disclaim any and all warranties, express and implied, - regarding user-generated content and Scratch Day events. The Scratch - Entities and their third party service providers do not represent or - warrant that access to Scratch will be uninterrupted or that there - will be no failures, errors or omissions or loss of transmitted - information, or that no viruses will be transmitted through Scratch - services. + is provided "as is," and the Scratch Entities hereby expressly + disclaim any and all warranties, express and implied, including but + not limited to any warranties of accuracy, reliability, title, + merchantability, non-infringement, fitness for a particular purpose + or any other warranty, condition, guarantee or representation, + whether oral, in writing or in electronic form, including but not + limited to the accuracy or completeness of any information contained + therein or provided by Scratch. Without limiting the foregoing, the + Scratch Entities disclaim any and all warranties, express and implied, + regarding user-generated content and Scratch Day events. The Scratch + Entities and their third party service providers do not represent or + warrant that access to Scratch will be uninterrupted or that there + will be no failures, errors or omissions or loss of transmitted + information, or that no viruses will be transmitted through Scratch + services.
The Scratch Entities shall not be liable to you or any third parties - for any direct, indirect, special, consequential or punitive damages - 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 - possibility of such damages. Without limiting the foregoing, the - Scratch Entites shall have no liability to you or any third parties - for damages or harms arising out of user-generated content or - Scratch Day events. + for any direct, indirect, special, consequential or punitive damages + 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 + possibility of such damages. Without limiting the foregoing, the + Scratch Entites shall have no liability to you or any third parties + for damages or harms arising out of user-generated content or + Scratch Day events.
Scratch is offered by the Scratch Team from its facilities in the United - States. The Scratch Team makes no representations that Scratch is - appropriate or available for use in other locations. Those who access - or use Scratch are responsible for compliance with local law. + States. The Scratch Team makes no representations that Scratch is + appropriate or available for use in other locations. Those who access + or use Scratch are responsible for compliance with local law.
You agree that these Terms of Use, for all purposes, shall be governed - and construed in accordance with the laws of the Commonwealth of - Massachusetts applicable to contracts to be wholly performed therein, - 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 - County, Massachusetts. In addition, both parties agree to submit to - the exclusive personal jurisdiction and venue of such courts. + and construed in accordance with the laws of the Commonwealth of + Massachusetts applicable to contracts to be wholly performed therein, + 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 + County, Massachusetts. In addition, both parties agree to submit to + the exclusive personal jurisdiction and venue of such courts.
If you are a federal, state, or local government entity in the United - States using Scratch in your official capacity and legally unable to - accept the controlling law, jurisdiction or venue clauses above, then - those clauses do not apply to you. For such U.S. federal government - entities, these Terms and any action related thereto will be governed - 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 - permitted under federal law, the laws of the Commonwealth of - Massachusetts (excluding choice of law). + States using Scratch in your official capacity and legally unable to + accept the controlling law, jurisdiction or venue clauses above, then + those clauses do not apply to you. For such U.S. federal government + entities, these Terms and any action related thereto will be governed + 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 + permitted under federal law, the laws of the Commonwealth of + Massachusetts (excluding choice of law).
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, - 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 - conflict between a translation and the English version, the English version - will govern. + version of these Terms of Use, the Privacy Policy, or any other policy, + 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 + conflict between a translation and the English version, the English version + will govern.
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's - failure to assert any right or provision under these Terms of Use shall - not constitute a waiver of such right or provision. + continuing waiver of such term or any other term, and the Scratch Team's + failure to assert any right or provision under these Terms of Use shall + not constitute a waiver of such right or provision.
This document, together with all appendices, constitutes the entire Terms - of Use and supersedes all previous agreements with the Scratch Team relating - to the use of Scratch. Revision date: April 2016. + of Use and supersedes all previous agreements with the Scratch Team relating + to the use of Scratch. Revision date: April 2016.
The following additional terms also govern your access to and use of web - 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 - apply to the Scratch Day Site, unless we clearly state otherwise. + 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 + apply to the Scratch Day Site, unless we clearly state otherwise.
The Scratch Day Site Privacy Policy, not the Scratch Privacy Policy, - describes how the Scratch Team uses, collects, and stores information - it collects through the Scratch Day Site. By using the Scratch Day - Site, you agree that you are comfortable with the Privacy Policy. + describes how the Scratch Team uses, collects, and stores information + it collects through the Scratch Day Site. By using the Scratch Day + Site, you agree that you are comfortable with the Privacy Policy.
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 - from your Scratch account. All registrants must be over 18 years of - age. When registering for a personal account, you will be asked to - provide certain personal information, such as your email address, - first and last name, and Scratch username (optional). Please see the - Scratch Day Site Privacy Policy for Scratch’s data retention and usage - policies. + to register and create an account. This account is a separate account + from your Scratch account. All registrants must be over 18 years of + age. When registering for a personal account, you will be asked to + provide certain personal information, such as your email address, + first and last name, and Scratch username (optional). Please see the + Scratch Day Site Privacy Policy for Scratch’s data retention and usage + policies.
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 - 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. + 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 + violates the Terms of Use, your account may be suspended or deleted.
2.3 If you have reason to believe that your account is no longer secure @@ -517,9 +517,9 @@ const Terms = () => (
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 - Scratch Day event, you may not state or imply that MIT, the Scratch - Team, or the Code to Learn Foundation has endorsed your event. + 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 + Team, or the Code to Learn Foundation has endorsed your event.
The following additional terms also govern your access to and use of web - pages hosted within scratchx.org (collectively, the “ScratchX Site”). - All of the terms set forth in the general Terms of Use above also apply - to the ScratchX Site, unless we clearly state otherwise. + pages hosted within scratchx.org (collectively, the “ScratchX Site”). + All of the terms set forth in the general Terms of Use above also apply + to the ScratchX Site, unless we clearly state otherwise.
The ScratchX Site provides a platform for developers to link their - experimental extensions to Scratch. However, we do not host those - extensions or save them on the ScratchX site. All the extensions loaded - on to ScratchX are hosted publicly on independent developers’ accounts - on GitHub. Your use of GitHub is subject to GitHub’s Terms of Service - and Privacy. + experimental extensions to Scratch. However, we do not host those + extensions or save them on the ScratchX site. All the extensions loaded + on to ScratchX are hosted publicly on independent developers’ accounts + on GitHub. Your use of GitHub is subject to GitHub’s Terms of Service + and Privacy.
The ScratchX Site Privacy Policy, not the Scratch Privacy Policy, - describes how the Scratch Team uses, collects, and stores information - it collects through the ScratchX Site. By using the ScratchX Site, you - agree to the terms of the Privacy Policy. + describes how the Scratch Team uses, collects, and stores information + it collects through the ScratchX Site. By using the ScratchX Site, you + agree to the terms of the Privacy Policy.
By using ScratchX, you understand that neither MIT, nor the Scratch Team, - nor the Code to Learn Foundation endorses any ScratchX 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, - the Scratch Team, or the Code to Learn Foundation has endorsed your - extension. + nor the Code to Learn Foundation endorses any ScratchX 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, + the Scratch Team, or the Code to Learn Foundation has endorsed your + extension.
The Scratch Terms of Use was last updated: April 2016
diff --git a/test/.eslintrc.js b/test/.eslintrc.js index 9df9052b9..8e4ac9f5f 100644 --- a/test/.eslintrc.js +++ b/test/.eslintrc.js @@ -10,6 +10,6 @@ module.exports = { { allowParens: true } - ], + ] } }; diff --git a/test/unit/components/os-chooser.test.jsx b/test/unit/components/os-chooser.test.jsx index 7658eb876..eecae46d5 100644 --- a/test/unit/components/os-chooser.test.jsx +++ b/test/unit/components/os-chooser.test.jsx @@ -10,7 +10,7 @@ describe('OSChooser', () => { component.find('button').last() .simulate('click'); - expect(onSetOs).toBeCalledWith('Android'); + expect(onSetOs).toHaveBeenCalledWith('Android'); }); test('has all 4 operating systems', () => {