Added untrackedDeveloperSettings to this branch too.

Load devel settings file after config.js and settings are saved for
developers even after merges.

	modified:   .gitignore
	modified:   public_html/config.js
	modified:   public_html/gmap.html
	modified:   public_html/script.js

Example file
--- untrackedDeveloperSettings.js ---
// Load this file after config.js so these settings are used

var CONST_CENTERLAT = 35.21928;
var CONST_CENTERLON = -80.94406;
var CONST_ZOOMLVL   = 9;
--- untrackedDeveloperSettings.js END ---
This commit is contained in:
terribl 2013-05-25 11:56:32 +03:00
parent 8b5c74ded8
commit 9c465c174b
4 changed files with 14 additions and 11 deletions

View file

@ -11,6 +11,11 @@ var bSortASC=true;
var bDefaultSortASC=true;
var iDefaultSortCol=3;
// Get current map settings
CenterLat = Number(localStorage['CenterLat']) || CONST_CENTERLAT;
CenterLon = Number(localStorage['CenterLon']) || CONST_CENTERLON;
ZoomLvl = Number(localStorage['ZoomLvl']) || CONST_ZOOMLVL;
function fetchData() {
$.getJSON('/dump1090/data.json', function(data) {
PlanesOnMap = 0
@ -148,11 +153,6 @@ function initialize() {
reaper();
extendedPulse();
}, 1000);
// Faster timer, smoother things
//window.setInterval(function() {
// printTime();
//}, 250);
}
// This looks for planes to reap out of the master Planes variable