mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
another refactor for global variables, bugfixes for logging tab initialization in strict mode
This commit is contained in:
parent
f3ea5757f7
commit
b77ed6b174
15 changed files with 66 additions and 70 deletions
|
@ -6,8 +6,8 @@
|
|||
*/
|
||||
'use strict';
|
||||
|
||||
tabs.servos = {};
|
||||
tabs.servos.initialize = function(callback) {
|
||||
TABS.servos = {};
|
||||
TABS.servos.initialize = function(callback) {
|
||||
GUI.active_tab_ref = this;
|
||||
GUI.active_tab = 'servos';
|
||||
googleAnalytics.sendAppView('Servos');
|
||||
|
@ -310,6 +310,6 @@ tabs.servos.initialize = function(callback) {
|
|||
}
|
||||
};
|
||||
|
||||
tabs.servos.cleanup = function(callback) {
|
||||
TABS.servos.cleanup = function(callback) {
|
||||
if (callback) callback();
|
||||
};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue