Merge pull request #129 from wailsapp/123-Unify-Runtime-APIs

feat: unify runtime API signatures
This commit is contained in:
Lea Anthony
2019-06-22 08:43:23 +10:00
committed by GitHub
8 changed files with 58 additions and 23 deletions

View File

@@ -9,9 +9,9 @@
export default {
// The main function
// Passes the main Wails object to the callback if given.
Start: function(callback) {
Start: function (callback) {
if (callback) {
window.wails.events.on("wails:ready", callback);
window.wails.Events.On("wails:ready", callback);
}
}
};