-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add installation instructions and change src for _hsql to CDN
- Loading branch information
1 parent
e6b1c53
commit d454d17
Showing
4 changed files
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
<title>_hsql Demo</title> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/sql.js/1.10.3/sql-wasm.js" integrity="sha512-+6Q7hv5pGUBXOuHWw8OdQx3ac7DzM3oJhYqz7SHDku0yl9EBdMqegoPed4GsHRoNF/VQYK2LTYewAIEBrEf/3w==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> | ||
<script src="https://unpkg.com/hyperscript.org"></script> | ||
<script src="./index.js"></script> | ||
<script src="https://cdn.jsdelivr.net/gh/3c2f3e/[email protected]/index.min.js"></script> | ||
<link rel="stylesheet" href="./css/index.css"> | ||
</head> | ||
<body> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,16 @@ <h1>_hsql</h1> | |
<h2>requirements</h2> | ||
SQL database running in the browser | ||
|
||
<h2>installation</h2> | ||
<ol> | ||
<li>include <a href="https://github.com/sql-js/sql.js">sql.js</a> | ||
<pre><code><script src="https://cdnjs.cloudflare.com/ajax/libs/sql.js/1.10.3/sql-wasm.js"></script></code></pre> | ||
</li> | ||
<li>include <a href="https://hyperscript.org/">_hyperscript</a> | ||
<pre><code><script src="https://unpkg.com/[email protected]/dist/_hyperscript.min.js"></script></code></pre></li> | ||
<li>include _hsql: | ||
<pre><code><script src="https://cdn.jsdelivr.net/gh/3c2f3e/[email protected]/index.min.js"></script></code></pre></li> | ||
|
||
<h2>usage</h2> | ||
<h3>statements</h3> | ||
<h4>direct SQL statements</h4> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
<title>_hsql Multiple Statements Demo</title> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/sql.js/1.10.3/sql-wasm.js" integrity="sha512-+6Q7hv5pGUBXOuHWw8OdQx3ac7DzM3oJhYqz7SHDku0yl9EBdMqegoPed4GsHRoNF/VQYK2LTYewAIEBrEf/3w==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> | ||
<script src="https://unpkg.com/hyperscript.org"></script> | ||
<script src="./index.js"></script> | ||
<script src="https://cdn.jsdelivr.net/gh/3c2f3e/[email protected]/index.min.js"></script> | ||
<link rel="stylesheet" href="./css/index.css"> | ||
</head> | ||
<body> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
<title>_hsql Playground</title> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/sql.js/1.10.3/sql-wasm.js" integrity="sha512-+6Q7hv5pGUBXOuHWw8OdQx3ac7DzM3oJhYqz7SHDku0yl9EBdMqegoPed4GsHRoNF/VQYK2LTYewAIEBrEf/3w==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> | ||
<script src="https://unpkg.com/hyperscript.org"></script> | ||
<script src="./index.js"></script> | ||
<script src="https://cdn.jsdelivr.net/gh/3c2f3e/[email protected]/index.min.js"></script> | ||
<link rel="stylesheet" href="./css/index.css"> | ||
</head> | ||
<body> | ||
|