-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Block versioning extension #5
base: main
Are you sure you want to change the base?
Conversation
/* PRG ADDITION BEGIN */ | ||
json["extensions"]?.forEach(id => extensions.extensionIDs.add(id)); | ||
|
||
var extensionManager = null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mayarajan3 Are these changes still necessary?
src/engine/blocks.js
Outdated
@@ -554,6 +555,13 @@ class Blocks { | |||
// A new block was actually added to the block container, | |||
// emit a project changed event | |||
this.emitProjectChanged(); | |||
|
|||
const scratchBlock = ScratchBlocks.getMainWorkspace().getBlockById(block.id); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Funny, I'm getting an error due to this line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -440,6 +440,11 @@ class ExtensionManager { | |||
|
|||
// avoid promise latency if we can call direct | |||
const serviceObject = dispatch.services[serviceName]; | |||
// var newFunc = funcName |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dead code
Resolves
What Github issue does this resolve (please include link)?
Proposed Changes
Describe what this Pull Request does
Reason for Changes
Explain why these changes should be made
Test Coverage
Please show how you have added tests to cover your changes