mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
mute logging of injected scripts
This commit is contained in:
parent
1e4cf9b0ad
commit
55817b65b5
1 changed files with 0 additions and 2 deletions
|
|
@ -41,11 +41,9 @@
|
|||
|
||||
// -------------- JS ----------------
|
||||
function addScript(js, callbackID) {
|
||||
console.log("Adding script: " + js)
|
||||
var script = document.createElement("script");
|
||||
script.text = js;
|
||||
document.body.appendChild(script);
|
||||
console.log("Calling back with:" + callbackID);
|
||||
window.wails.events.emit(callbackID);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue