Created
September 25, 2017 16:31
-
-
Save bob1171/61fe098c23cdf27ff02b2c815c91c84c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new (function() { | |
var ext = this; | |
var descriptor = { | |
blocks: [ | |
['b','installed','installed'], | |
], | |
url : '' // This is the URL for when someone clicks "learn more" | |
}; | |
ext._shutdown = function() { | |
}; | |
ext._getStatus = function() { | |
return {status:2, msg:'Ready'}; // Returning status defines the colour of the light beside the blocks. | |
}; | |
ext.installed = function(){return true} | |
ScratchExtensions.register('bob', descriptor, ext); // Name of the extension. | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment