mirror of
https://github.com/inexorabletash/jsbasic.git
synced 2025-07-18 21:24:09 +00:00
Add script example
This commit is contained in:
@@ -141,7 +141,7 @@
|
||||
}
|
||||
|
||||
window.addEventListener('load', function() {
|
||||
[].forEach.call(document.querySelectorAll('script'), function(script) {
|
||||
[].forEach.call($$('script'), function(script) {
|
||||
if (script.type === 'text/applesoft-basic') {
|
||||
var elem = createInstance(script.innerText);
|
||||
script.parentElement.insertBefore(elem, script.nextSibling);
|
||||
|
Reference in New Issue
Block a user