From 4c40d93e0a8376d9a513b07d678df80ef8462a6e Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Sat, 2 Nov 2019 06:48:48 +1100 Subject: [PATCH] chore: remove legacy bridge files --- .../frontend/src/wailsbridge.js | 17 ----------------- .../frontend/src/wailsbridge.js | 17 ----------------- 2 files changed, 34 deletions(-) delete mode 100644 cmd/templates/angular-template/frontend/src/wailsbridge.js delete mode 100644 cmd/templates/create-react-app/frontend/src/wailsbridge.js diff --git a/cmd/templates/angular-template/frontend/src/wailsbridge.js b/cmd/templates/angular-template/frontend/src/wailsbridge.js deleted file mode 100644 index 62c72390..00000000 --- a/cmd/templates/angular-template/frontend/src/wailsbridge.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - Wails Bridge (c) 2019-present Lea Anthony - - This prod version is to get around having to rewrite your code - for production. When doing a release build, this file will be used - instead of the full version. -*/ - -export default { - // The main function - // Passes the main Wails object to the callback if given. - Start: function(callback) { - if (callback) { - window.wails.events.on("wails:ready", callback); - } - } -}; diff --git a/cmd/templates/create-react-app/frontend/src/wailsbridge.js b/cmd/templates/create-react-app/frontend/src/wailsbridge.js deleted file mode 100644 index 20d16b80..00000000 --- a/cmd/templates/create-react-app/frontend/src/wailsbridge.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - Wails Bridge (c) 2019-present Lea Anthony - - This prod version is to get around having to rewrite your code - for production. When doing a release build, this file will be used - instead of the full version. -*/ - -export default { - // The main function - // Passes the main Wails object to the callback if given. - Start: function (callback) { - if (callback) { - window.wails.Events.On("wails:ready", callback); - } - } -};