From e23314212539c4fe2d53fd0beab33c9b4f8a02f1 Mon Sep 17 00:00:00 2001 From: attila Date: Tue, 23 Apr 2024 15:56:21 +0200 Subject: [PATCH] Add missing licence header to Javascript example files --- .../GUI/WebViewPluginDemoGUI/.eslintrc.js | 23 +++++++++++++++++++ examples/GUI/WebViewPluginDemoGUI/src/App.js | 23 +++++++++++++++++++ .../GUI/WebViewPluginDemoGUI/src/App.test.js | 23 +++++++++++++++++++ .../GUI/WebViewPluginDemoGUI/src/index.js | 23 +++++++++++++++++++ .../src/reportWebVitals.js | 23 +++++++++++++++++++ .../WebViewPluginDemoGUI/src/setupTests.js | 23 +++++++++++++++++++ 6 files changed, 138 insertions(+) diff --git a/examples/GUI/WebViewPluginDemoGUI/.eslintrc.js b/examples/GUI/WebViewPluginDemoGUI/.eslintrc.js index 6d8f7c4c63..3e06df86a1 100644 --- a/examples/GUI/WebViewPluginDemoGUI/.eslintrc.js +++ b/examples/GUI/WebViewPluginDemoGUI/.eslintrc.js @@ -1,3 +1,26 @@ +/* + ============================================================================== + + This file is part of the JUCE framework examples. + Copyright (c) Raw Material Software Limited + + The code included in this file is provided under the terms of the ISC license + http://www.isc.org/downloads/software-support-policy/isc-license. Permission + to use, copy, modify, and/or distribute this software for any purpose with or + without fee is hereby granted provided that the above copyright notice and + this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + + ============================================================================== +*/ + module.exports = { env: { browser: true, diff --git a/examples/GUI/WebViewPluginDemoGUI/src/App.js b/examples/GUI/WebViewPluginDemoGUI/src/App.js index 9b46036f5a..0caad2c58b 100644 --- a/examples/GUI/WebViewPluginDemoGUI/src/App.js +++ b/examples/GUI/WebViewPluginDemoGUI/src/App.js @@ -1,3 +1,26 @@ +/* + ============================================================================== + + This file is part of the JUCE framework examples. + Copyright (c) Raw Material Software Limited + + The code included in this file is provided under the terms of the ISC license + http://www.isc.org/downloads/software-support-policy/isc-license. Permission + to use, copy, modify, and/or distribute this software for any purpose with or + without fee is hereby granted provided that the above copyright notice and + this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + + ============================================================================== +*/ + import "@fontsource/roboto/300.css"; import "@fontsource/roboto/400.css"; import "@fontsource/roboto/500.css"; diff --git a/examples/GUI/WebViewPluginDemoGUI/src/App.test.js b/examples/GUI/WebViewPluginDemoGUI/src/App.test.js index 4de7037e07..8a434883d7 100644 --- a/examples/GUI/WebViewPluginDemoGUI/src/App.test.js +++ b/examples/GUI/WebViewPluginDemoGUI/src/App.test.js @@ -1,3 +1,26 @@ +/* + ============================================================================== + + This file is part of the JUCE framework examples. + Copyright (c) Raw Material Software Limited + + The code included in this file is provided under the terms of the ISC license + http://www.isc.org/downloads/software-support-policy/isc-license. Permission + to use, copy, modify, and/or distribute this software for any purpose with or + without fee is hereby granted provided that the above copyright notice and + this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + + ============================================================================== +*/ + import { render, screen } from '@testing-library/react'; import App from './App'; diff --git a/examples/GUI/WebViewPluginDemoGUI/src/index.js b/examples/GUI/WebViewPluginDemoGUI/src/index.js index e6e820ddfc..30e268b003 100644 --- a/examples/GUI/WebViewPluginDemoGUI/src/index.js +++ b/examples/GUI/WebViewPluginDemoGUI/src/index.js @@ -1,3 +1,26 @@ +/* + ============================================================================== + + This file is part of the JUCE framework examples. + Copyright (c) Raw Material Software Limited + + The code included in this file is provided under the terms of the ISC license + http://www.isc.org/downloads/software-support-policy/isc-license. Permission + to use, copy, modify, and/or distribute this software for any purpose with or + without fee is hereby granted provided that the above copyright notice and + this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + + ============================================================================== +*/ + import React from "react"; import ReactDOM from "react-dom/client"; import "./index.css"; diff --git a/examples/GUI/WebViewPluginDemoGUI/src/reportWebVitals.js b/examples/GUI/WebViewPluginDemoGUI/src/reportWebVitals.js index 77957db050..d85a6b5fdd 100644 --- a/examples/GUI/WebViewPluginDemoGUI/src/reportWebVitals.js +++ b/examples/GUI/WebViewPluginDemoGUI/src/reportWebVitals.js @@ -1,3 +1,26 @@ +/* + ============================================================================== + + This file is part of the JUCE framework examples. + Copyright (c) Raw Material Software Limited + + The code included in this file is provided under the terms of the ISC license + http://www.isc.org/downloads/software-support-policy/isc-license. Permission + to use, copy, modify, and/or distribute this software for any purpose with or + without fee is hereby granted provided that the above copyright notice and + this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + + ============================================================================== +*/ + const reportWebVitals = onPerfEntry => { if (onPerfEntry && onPerfEntry instanceof Function) { import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => { diff --git a/examples/GUI/WebViewPluginDemoGUI/src/setupTests.js b/examples/GUI/WebViewPluginDemoGUI/src/setupTests.js index 141e479890..55ef102fbd 100644 --- a/examples/GUI/WebViewPluginDemoGUI/src/setupTests.js +++ b/examples/GUI/WebViewPluginDemoGUI/src/setupTests.js @@ -1,3 +1,26 @@ +/* + ============================================================================== + + This file is part of the JUCE framework examples. + Copyright (c) Raw Material Software Limited + + The code included in this file is provided under the terms of the ISC license + http://www.isc.org/downloads/software-support-policy/isc-license. Permission + to use, copy, modify, and/or distribute this software for any purpose with or + without fee is hereby granted provided that the above copyright notice and + this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + + ============================================================================== +*/ + // jest-dom adds custom jest matchers for asserting on DOM nodes. // allows you to do things like: // expect(element).toHaveTextContent(/react/i)