mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-24 16:55:22 +03:00
Convert to CommonJS Modules
This commit is contained in:
parent
7df8253099
commit
91f1699659
100 changed files with 9685 additions and 3735 deletions
|
@ -5,7 +5,7 @@ var appUpdater = appUpdater || {};
|
|||
appUpdater.checkRelease = function (currVersion) {
|
||||
var modalStart;
|
||||
$.get('https://api.github.com/repos/iNavFlight/inav-configurator/releases', function (releaseData) {
|
||||
GUI.log(localization.getMessage('loadedReleaseInfo'));
|
||||
GUI.log(i18n.getMessage('loadedReleaseInfo'));
|
||||
//Git return sorted list, 0 - last release
|
||||
|
||||
let newVersion = releaseData[0].tag_name;
|
||||
|
@ -15,7 +15,7 @@ appUpdater.checkRelease = function (currVersion) {
|
|||
GUI.log(newVersion, app.getVersion());
|
||||
GUI.log(currVersion);
|
||||
|
||||
GUI.log(localization.getMessage('newVersionAvailable'));
|
||||
GUI.log(i18n.getMessage('newVersionAvailable'));
|
||||
modalStart = new jBox('Modal', {
|
||||
width: 400,
|
||||
height: 200,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue