mirror of
https://github.com/inexorabletash/jsbasic.git
synced 2025-06-29 02:24:02 +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