1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00

another refactor for global variables, bugfixes for logging tab initialization in strict mode

This commit is contained in:
cTn 2014-08-12 15:51:31 +02:00 committed by Dominic Clifton
parent f3ea5757f7
commit b77ed6b174
15 changed files with 66 additions and 70 deletions

View file

@ -1,7 +1,7 @@
'use strict';
tabs.receiver = {};
tabs.receiver.initialize = function(callback) {
TABS.receiver = {};
TABS.receiver.initialize = function(callback) {
GUI.active_tab_ref = this;
GUI.active_tab = 'receiver';
googleAnalytics.sendAppView('Receiver Page');
@ -275,6 +275,6 @@ tabs.receiver.initialize = function(callback) {
}
};
tabs.receiver.cleanup = function(callback) {
TABS.receiver.cleanup = function(callback) {
if (callback) callback();
};