@@ -33,16 +33,17 @@ const main = function() {
33
33
34
34
* Keep the bare minimum of state.
35
35
* Load and process any configuration from the page.
36
- * Provide a mechanism for PyScriptPlugin based plugins to be registered,
37
- configured and then started.
36
+ * Provide a mechanism for plugins to be registered, configured and then
37
+ started.
38
38
* Load and start the Python runtime.
39
39
* Dispatch the following events to signal various changes in state or the
40
40
completion of tasks (such as starting the runtime).
41
41
- "py-configured", when configuration is processed.
42
42
- "py-plugin-registered", when a plugin is registered.
43
+ - "py-plugin-started", when a plugin is started.
43
44
- "py-runtime-loaded", when the runtime has been downloaded.
44
45
- "py-runtime-ready", when the runtime is ready to process Python.
45
- * Define, configure and start the built-in PyScript plugins (e.g. the
46
+ * Define, configure and start built-in PyScript plugins (e.g. the
46
47
<py-script> tag).
47
48
**************************************************************************/
48
49
@@ -338,11 +339,6 @@ const main = function() {
338
339
}
339
340
}
340
341
341
- // An object to represent the PyScript platform in the browser. What is
342
- // eventually returned from the main() function.
343
- const PyScript = {
344
- }
345
-
346
342
// Default configuration settings for PyScript. These may be overridden by
347
343
// the app.loadConfig function.
348
344
const config = {
0 commit comments