Skip to content

Commit 67ef7d3

Browse files
Update per-file licence headers (#566)
Fix some copy/paste errors, add headers for new files. Clarify a few cases.
1 parent cabcfff commit 67ef7d3

File tree

177 files changed

+874
-19
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

177 files changed

+874
-19
lines changed

.eslintrc.cjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* (c) 2024, Micro:bit Educational Foundation and contributors
3+
*
4+
* SPDX-License-Identifier: MIT
5+
*/
16
module.exports = {
27
root: true,
38
env: { browser: true, es2020: true },

deployment.cjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* (c) 2024, Micro:bit Educational Foundation and contributors
3+
*
4+
* SPDX-License-Identifier: MIT
5+
*/
16
const {
27
createDeploymentDetailsFromOptions,
38
} = require("@microbit-foundation/website-deploy-aws-config");

playwright.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* (c) 2024, Micro:bit Educational Foundation and contributors
3+
*
4+
* SPDX-License-Identifier: MIT
5+
*/
16
import { defineConfig, devices } from "@playwright/test";
27

38
/**

src/App.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/**
2+
* (c) 2023, Center for Computational Thinking and Design at Aarhus University and contributors
3+
* Modifications (c) 2024, Micro:bit Educational Foundation and contributors
4+
*
5+
* SPDX-License-Identifier: MIT
6+
*/
17
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
28
import { ChakraProvider, useToast } from "@chakra-ui/react";
39
import { MakeCodeFrameDriver } from "@microbit/makecode-embed/react";

src/bt-pattern-matrix-utils.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
*/
44
/**
55
* (c) 2023, Center for Computational Thinking and Design at Aarhus University and contributors
6+
* Modifications (c) 2024, Micro:bit Educational Foundation and contributors
67
*
78
* SPDX-License-Identifier: MIT
89
*/

src/bt-pattern-matrix-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/**
22
* (c) 2023, Center for Computational Thinking and Design at Aarhus University and contributors
3+
* Modifications (c) 2024, Micro:bit Educational Foundation and contributors
34
*
45
* SPDX-License-Identifier: MIT
56
*/
6-
77
export const transformMatrixToColumns = <T>(
88
m: T[],
99
matrixDimension: number

src/bt-pattern-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/**
22
* (c) 2023, Center for Computational Thinking and Design at Aarhus University and contributors
3+
* Modifications (c) 2024, Micro:bit Educational Foundation and contributors
34
*
45
* SPDX-License-Identifier: MIT
56
*/
6-
77
export type BluetoothPattern = boolean[];
88
const microbitNameLength = 5;
99

src/buffered-data-hooks.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/**
2+
* (c) 2023, Center for Computational Thinking and Design at Aarhus University and contributors
3+
* Modifications (c) 2024, Micro:bit Educational Foundation and contributors
4+
*
5+
* SPDX-License-Identifier: MIT
6+
*/
17
import { AccelerometerDataEvent } from "@microbit/microbit-connection";
28
import {
39
ReactNode,

src/buffered-data.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/**
2+
* (c) 2023, Center for Computational Thinking and Design at Aarhus University and contributors
3+
* Modifications (c) 2024, Micro:bit Educational Foundation and contributors
4+
*
5+
* SPDX-License-Identifier: MIT
6+
*/
17
import { describe, it } from "vitest";
28
import { BufferedData, RingBuffer } from "./buffered-data";
39

src/buffered-data.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/**
2+
* (c) 2023, Center for Computational Thinking and Design at Aarhus University and contributors
3+
* Modifications (c) 2024, Micro:bit Educational Foundation and contributors
4+
*
5+
* SPDX-License-Identifier: MIT
6+
*/
17
import { XYZData } from "./model";
28

39
export interface TimedXYZ {

0 commit comments

Comments
 (0)