You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
597 B
JavaScript
27 lines
597 B
JavaScript
'use strict';
|
|
/*global $,TABS,GUI,googleAnalytics*/
|
|
|
|
TABS.landing = {};
|
|
TABS.landing.initialize = function (callback) {
|
|
|
|
if (GUI.active_tab != 'landing') {
|
|
GUI.active_tab = 'landing';
|
|
googleAnalytics.sendAppView('Landing');
|
|
}
|
|
|
|
GUI.load("./tabs/landing.html", function () {
|
|
localize();
|
|
|
|
$('.tab-landing a').click(function () {
|
|
googleAnalytics.sendEvent('ExternalUrls', 'Click', $(this).prop('href'));
|
|
});
|
|
|
|
GUI.content_ready(callback);
|
|
});
|
|
|
|
};
|
|
|
|
TABS.landing.cleanup = function (callback) {
|
|
if (callback) callback();
|
|
};
|