Skip to content

Commit

Permalink
v12.3.7
Browse files Browse the repository at this point in the history
Added support for ESM as well as CommonJS.
  • Loading branch information
boehlerlukas committed Feb 25, 2024
1 parent c9ff94d commit b92c5dc
Show file tree
Hide file tree
Showing 12 changed files with 7,238 additions and 25,881 deletions.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ module.exports = {
["@babel/env"]
],
plugins: [
["@babel/plugin-proposal-class-properties"]
["@babel/plugin-transform-class-properties"]
]
};
1 change: 1 addition & 0 deletions build/cjs/index.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions build/esm/index.mjs

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion build/index.js

This file was deleted.

2 changes: 1 addition & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<link rel="stylesheet" type="text/css" media="screen" href="main.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />
<!-- index.js as found in build/index.js -->
<script src="index.js"></script>
<script src="build/cjs/index.js"></script>
<script src="main.js"></script>
<style>
* {
Expand Down
6 changes: 3 additions & 3 deletions demo/main.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
const Gleap = window.Gleap;

Gleap.setFrameUrl("http://0.0.0.0:3001");
/*Gleap.setFrameUrl("http://0.0.0.0:3001");
Gleap.setApiUrl("http://0.0.0.0:9000");
Gleap.setWSApiUrl("ws://0.0.0.0:8080");
Gleap.setWSApiUrl("ws://0.0.0.0:8080");*/

Gleap.initialize("ogWhNhuiZcGWrva5nlDS8l7a78OfaLlV");
Gleap.initialize("44iWQrD3YuDxqj6aw5HqsKyuaas28ZKu");

/*Gleap.setUrlHandler((url, newTab) => {
alert("URL: " + url + " newTab: " + newTab);
Expand Down
Loading

0 comments on commit b92c5dc

Please sign in to comment.