Skip to content

Commit b92c5dc

Browse files
committed
v12.3.7
Added support for ESM as well as CommonJS.
1 parent c9ff94d commit b92c5dc

File tree

12 files changed

+7238
-25881
lines changed

12 files changed

+7238
-25881
lines changed

.DS_Store

0 Bytes
Binary file not shown.

babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ module.exports = {
33
["@babel/env"]
44
],
55
plugins: [
6-
["@babel/plugin-proposal-class-properties"]
6+
["@babel/plugin-transform-class-properties"]
77
]
88
};

build/cjs/index.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/esm/index.mjs

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

build/index.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

demo/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<link rel="stylesheet" type="text/css" media="screen" href="main.css" />
1919
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />
2020
<!-- index.js as found in build/index.js -->
21-
<script src="index.js"></script>
21+
<script src="build/cjs/index.js"></script>
2222
<script src="main.js"></script>
2323
<style>
2424
* {

demo/main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
const Gleap = window.Gleap;
22

3-
Gleap.setFrameUrl("http://0.0.0.0:3001");
3+
/*Gleap.setFrameUrl("http://0.0.0.0:3001");
44
Gleap.setApiUrl("http://0.0.0.0:9000");
5-
Gleap.setWSApiUrl("ws://0.0.0.0:8080");
5+
Gleap.setWSApiUrl("ws://0.0.0.0:8080");*/
66

7-
Gleap.initialize("ogWhNhuiZcGWrva5nlDS8l7a78OfaLlV");
7+
Gleap.initialize("44iWQrD3YuDxqj6aw5HqsKyuaas28ZKu");
88

99
/*Gleap.setUrlHandler((url, newTab) => {
1010
alert("URL: " + url + " newTab: " + newTab);

0 commit comments

Comments
 (0)