Thomas Weber
7387fa0883
Replace tap with node:test ( #393 )
2026-10-18 14:43:49 -05:00
Thomas Weber
1fd83b48dd
Use new hidden class per variable ( #378 )
2026-10-03 20:03:38 -05:00
Muffin
81a0382e0f
merge-upstream: initial merge of upstream/develop
...
installs & compiles but has test errors
aside from expected merge conflicts, notable changes from upstream:
- removed husky, commitlint, etc.
- removed semantic-release etc.
2023-12-22 17:25:21 -06:00
Karishma Chadha
e0b0d35b46
Add references to runtime to constructor calls for Sprite, Target, and RenderedTarget so blocks get created properly.
2019-01-29 15:30:45 -05:00
Karishma Chadha
59a865ef47
Create a new addTarget function on the runtime which populates the targets list as well as the executable targets list.
2019-01-14 11:48:11 -05:00
Karishma Chadha and paulkaplan
499209c174
Update test/unit/engine_target.js
...
Co-Authored-By: paulkaplan <pkaplan@media.mit.edu >
2018-12-06 05:30:17 -05:00
Karishma Chadha and paulkaplan
78e5f93544
Update test/unit/engine_target.js
...
Co-Authored-By: paulkaplan <pkaplan@media.mit.edu >
2018-12-06 05:30:10 -05:00
Paul Kaplan
d50504e339
Make duplicateVariable deep copy the array instead of keeping reference.
2018-12-05 16:27:10 -05:00
Karishma Chadha
431e92aa54
Fix up tests and remove unused function.
2018-11-28 15:03:20 -05:00
Karishma Chadha
abbce00203
Add unit tests for new rename and delete cloud var functionality.
2018-11-20 19:56:45 -05:00
Karishma Chadha
25ce08131a
Add rename and delete functionality for cloud variables. Refactor function name for cloud variable creation API.
2018-11-20 15:11:12 -05:00
Karishma Chadha
e2e6509a4a
Fix lint error
2018-11-14 19:22:41 -05:00
Karishma Chadha
fad4d381bb
Add and update unit tests for new create cloud variable functionality.
2018-11-14 15:46:51 -05:00
Karishma Chadha
5d25a5afcf
Add unit tests for new duplicate variable functions on target.
2018-08-07 18:21:01 -04:00
Karishma Chadha
99c1ce9286
Fix variable conflict that arises during sprite upload where the sprite may reference a global variable that conflicts with the name of a local variable on a different sprite in the project.
2018-07-17 15:37:28 -04:00
Karishma Chadha
f06b8a3943
Clean up calls to fixUpVariableReferences
2018-06-25 09:11:48 -04:00
Karishma Chadha
889443fcef
fixUpVariableReferences should handle conflicting local variables that don't have blocks referencing them. Add unit tests for the function.
2018-06-20 12:07:42 -04:00
Karishma Chadha
240701d65a
Add some tests for comments...
2018-06-12 18:29:43 -04:00
Karishma Chadha
537dc9bcd5
Addressing PR comments.
2018-05-31 16:33:42 -04:00
Karishma Chadha
1639444a4d
Fix lint and tests.
2018-05-30 21:18:45 -04:00
Karishma Chadha
34b0aff637
Bugfix for scratch-gui issue #994 , where executing a broadcast block from the flyout was creating a conflicting variable, causing a fatal error.
2017-12-04 18:01:29 -05:00
Karishma Chadha
e5378d323d
Adding unit tests for new lookupOrCreate funciton, fixing a bug that came up during testing (using lookupVariableById on a null target). Skipping integration tests that do not work right now because SB2 import of broadcast message blocks has not been implemented yet.
2017-11-29 10:43:07 -05:00
Karishma Chadha
3f444138db
Updating tests for refactoring lists. Updating demo fixture -- now we have IDs and variable types for variables.
2017-11-13 16:30:47 -05:00
Karishma Chadha
1d4acde7dc
Fixing unit/integration tests.
2017-11-13 14:25:12 -05:00
marisaleung
875ccf5b88
Updated variables and var_fire event listener.
2017-06-23 09:57:01 -07:00