Skip to content

martingallardo23/scratch-gui

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scratch for Learning by Teaming Experiment

You can see the original documentation in the original repo. After building the project, add this to the index.html:

  <script>

    window.addEventListener('message', event => {
            if (event.origin !== 'https://lksy-ea03bd92899e.herokuapp.com') {
                return;
            }

            if (event.data.command === 'saveProjectToDatabase') {
                if (typeof window.handleClickSaveToDatabase === 'function') {
                    window.handleClickSaveToDatabase(event.data.action);
                } 
            } else if (event.data.command === 'loadProjectFromDatabase') {
                window.handleLoadProjectFromDatabase(event.data.userId, event.data.taskId, event.data.saved);
            } else if (event.data.command === 'disableUnloadPrompt') {
                window.onbeforeunload = null;
            }
        });
  </script>

About

Graphical User Interface for creating and running Scratch 3.0 projects.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 93.1%
  • CSS 6.7%
  • Other 0.2%