Files
wails/wailsruntimeassets/bridge/wailsbridge.prod.js
2019-06-22 08:36:11 +10:00

18 lines
445 B
JavaScript

/*
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);
}
}
};