mirror of
https://github.com/inexorabletash/jsbasic.git
synced 2024-12-21 16:30:19 +00:00
Make script.js URLs protocol-relative
This commit is contained in:
parent
26bcae27a5
commit
14adff5695
@ -3,7 +3,7 @@ Web Page Embedding
|
||||
|
||||
Want to show off your BASIC creation on your own web site? Now you can with just a tiny bit of HTML.
|
||||
There are two parts:
|
||||
1. Insert `<script src="http://calormen.com/jsbasic/script.js"></script>` on your page to enable it
|
||||
1. Insert `<script src="//calormen.com/jsbasic/script.js"></script>` on your page to enable it
|
||||
2. Add `<script type="text/applesoft-basic">` then your BASIC program then `</script>`
|
||||
|
||||
Like this:
|
||||
@ -12,7 +12,7 @@ Like this:
|
||||
<title>My BASIC example</title>
|
||||
<h1>Look what I did!</h1>
|
||||
|
||||
<script src="http://calormen.com/jsbasic/script.js"></script>
|
||||
<script src="//calormen.com/jsbasic/script.js"></script>
|
||||
<script type="text/applesoft-basic">
|
||||
|
||||
10 REM Your BASIC program goes here
|
||||
|
Loading…
Reference in New Issue
Block a user