Skip to content

Commit

Permalink
Remove code irrelevant to the global events bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Yassen Damyanov committed Jul 21, 2021
1 parent e96b7cf commit bc0e11c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
12 changes: 0 additions & 12 deletions www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,6 @@
<link href="/styles.css" rel="stylesheet" />

<script type="text/javascript">
var Tauri = null;
import('/invoke.js').then((imported) => {
Tauri = imported;
});

const sayHello = () => {
console.log('sayHello() called');
let name = 'Alice';
Tauri.invoke_cmd('say_hello', { name: name }).then((ret) => {
console.log(`say_hello('${name}') returned '${ret}'`);
});
};

var sendEvent = null;
import('/modules/@tauri-apps/api/event.js').then((eventMod) => {
Expand Down
11 changes: 0 additions & 11 deletions www/invoke.js

This file was deleted.

0 comments on commit bc0e11c

Please sign in to comment.