Includes scratch-gui, scratch-vm, scratch-blocks, scratch-render, scratch-l10n, and deployment config. Co-authored-by: Cursor <cursoragent@cursor.com>
16 lines
279 B
JavaScript
16 lines
279 B
JavaScript
class DispatchTestService {
|
|
returnFortyTwo () {
|
|
return 42;
|
|
}
|
|
|
|
doubleArgument (x) {
|
|
return 2 * x;
|
|
}
|
|
|
|
throwException () {
|
|
throw new Error('This is a test exception thrown by DispatchTest');
|
|
}
|
|
}
|
|
|
|
module.exports = DispatchTestService;
|