mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-24 16:55:22 +03:00
Convert to CommonJS Modules - Part 2
This commit is contained in:
parent
91f1699659
commit
38727c54a8
21 changed files with 729 additions and 694 deletions
|
@ -1,5 +1,12 @@
|
|||
'use strict';
|
||||
|
||||
const mapSeries = require('promise-map-series')
|
||||
|
||||
const mspHelper = require('./../js/msp/MSPHelper');
|
||||
const { GUI } = require('./gui');
|
||||
const FC = require('./fc');
|
||||
const { globalSettings, UnitType } = require('./globalSettings');
|
||||
|
||||
function padZeros(val, length) {
|
||||
let str = val.toString();
|
||||
|
||||
|
@ -638,3 +645,5 @@ var Settings = (function () {
|
|||
|
||||
return self;
|
||||
})();
|
||||
|
||||
module.exports = Settings;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue