2021-07-23 10:34:57 +00:00
|
|
|
<!-- DEVELOPMENT version -->
|
|
|
|
<!--
|
|
|
|
(use ultra-fast, low-latency, pre-minified & compressed CDN for production)
|
|
|
|
-->
|
|
|
|
<body>
|
|
|
|
<script src="./ajquery.js"></script>
|
|
|
|
<script>
|
|
|
|
document.write("Hello, World!");
|
2024-08-29 20:15:11 +00:00
|
|
|
let text = $("body").textContent;
|
|
|
|
console.log(text);
|
2021-07-23 10:34:57 +00:00
|
|
|
</script>
|
2024-08-29 23:29:03 +00:00
|
|
|
|
|
|
|
<script src="./ajquery.min.cjs"></script>
|
|
|
|
<script>
|
|
|
|
console.log("globalThis.AJQuery:", globalThis.AJQuery);
|
|
|
|
</script>
|
|
|
|
|
2024-08-30 00:36:30 +00:00
|
|
|
<script type="module" src="./ajquery.mjs"></script>
|
2024-08-29 23:29:03 +00:00
|
|
|
<script type="module">
|
2024-08-30 00:36:30 +00:00
|
|
|
import AJQuery from "./ajquery.min.mjs";
|
2024-08-29 23:29:03 +00:00
|
|
|
console.log("imported AJQuery", AJQuery);
|
|
|
|
</script>
|
2021-07-23 10:34:57 +00:00
|
|
|
</body>
|