Skip to content

Commit 16879ff

Browse files
committed
added ccmjs in libs;
updated index.html; update yml file
1 parent e0f6963 commit 16879ff

3 files changed

Lines changed: 3053 additions & 7 deletions

File tree

.github/workflows/tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
mangle: true,
8888
sourceMap: {
8989
filename: outputName,
90-
url: outputName + ".map"
90+
url: BASE_URL + outputName + ".map"
9191
}
9292
});
9393

index.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,11 @@
33
<head>
44
<meta charset="UTF-8" />
55
<title>ccmjs Hello Demo</title>
6-
<script src="https://ccmjs.github.io/framework/ccm.js"></script>
6+
<script src="./libs/ccm/ccm.js"></script>
77
</head>
88
<body>
99
<script>
10-
ccm.start(
11-
"https://cdn.jsdelivr.net/gh/ccmjs/hello@v1.0.0/ccm.hello-1.0.0.min.mjs#sha384-AUnHcKTLBWEgqeIEisMB931h1vZ2ni61UNszI2eonTVjGZ0qSBOp2O2kPF9TDMD7",
12-
{ name: "World" },
13-
document.body,
14-
);
10+
ccm.start("./ccm.hello.mjs", { name: "World" }, document.body);
1511
</script>
1612
</body>
1713
</html>

0 commit comments

Comments
 (0)