mirror of
https://github.com/inexorabletash/jsbasic.git
synced 2025-02-21 07:29:29 +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.
|
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:
|
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>`
|
2. Add `<script type="text/applesoft-basic">` then your BASIC program then `</script>`
|
||||||
|
|
||||||
Like this:
|
Like this:
|
||||||
@ -12,7 +12,7 @@ Like this:
|
|||||||
<title>My BASIC example</title>
|
<title>My BASIC example</title>
|
||||||
<h1>Look what I did!</h1>
|
<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">
|
<script type="text/applesoft-basic">
|
||||||
|
|
||||||
10 REM Your BASIC program goes here
|
10 REM Your BASIC program goes here
|
||||||
|
Loading…
x
Reference in New Issue
Block a user