Skip to content

Commit 2031f98

Browse files
chore: fix licenses and format (#31)
* chore: add and fix licenses * chore: format
1 parent 31bdcb2 commit 2031f98

File tree

5 files changed

+29
-11
lines changed

5 files changed

+29
-11
lines changed

src/blocks/p5_blocks.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/**
2+
* @license
3+
* Copyright 2024 Google LLC
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
17
import * as Blockly from 'blockly/core';
28

39
// p5 Basic Setup Blocks

src/blocks/toolbox.js

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/**
2+
* @license
3+
* Copyright 2024 Google LLC
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
17
export const toolbox = {
28
'kind': 'flyoutToolbox',
39
'contents': [
@@ -104,14 +110,14 @@ export const toolbox = {
104110
type: 'controls_repeat_ext',
105111
inputs: {
106112
TIMES: {
107-
block: {
108-
type: 'math_number',
109-
fields: {
110-
NUM: 5
111-
}
112-
}
113-
}
114-
}
113+
block: {
114+
type: 'math_number',
115+
fields: {
116+
NUM: 5,
117+
},
118+
},
119+
},
120+
},
115121
},
116122
],
117123
};

src/keynames.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/**
2+
* @license
3+
* Copyright 2024 Google LLC
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
17
/**
28
* Key names for common characters. These should be used with keyup/keydown
39
* events, since the .keyCode property on those is meant to indicate the

test/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ <h3 id="description"></h3>
8484
</p>
8585
<h3 id="announcerHeading">Announcer region:</h3>
8686
<div id="announceWrapper">
87-
<p id="announcer"></p>
88-
</div>
87+
<p id="announcer"></p>
88+
</div>
8989
</div>
9090
</div>
9191
</div>

test/loadTestBlocks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @license
3-
* Copyright 2023 Google LLC
3+
* Copyright 2024 Google LLC
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

0 commit comments

Comments
 (0)