Move special-character definitions to formatter.js.
This commit is contained in:
parent
0367429b9d
commit
df64abe433
|
@ -1,6 +1,11 @@
|
||||||
// -*- mode: javascript; indent-tabs-mode: t; c-basic-offset: 8 -*-
|
// -*- mode: javascript; indent-tabs-mode: t; c-basic-offset: 8 -*-
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
var NBSP='\u00a0';
|
||||||
|
var DEGREES='\u00b0'
|
||||||
|
var UP_TRIANGLE='\u25b2'; // U+25B2 BLACK UP-POINTING TRIANGLE
|
||||||
|
var DOWN_TRIANGLE='\u25bc'; // U+25BC BLACK DOWN-POINTING TRIANGLE
|
||||||
|
|
||||||
var TrackDirections = ["North","Northeast","East","Southeast","South","Southwest","West","Northwest"];
|
var TrackDirections = ["North","Northeast","East","Southeast","South","Southwest","West","Northwest"];
|
||||||
|
|
||||||
// formatting helpers
|
// formatting helpers
|
||||||
|
|
|
@ -36,9 +36,6 @@ var FetchPending = null;
|
||||||
var MessageCountHistory = [];
|
var MessageCountHistory = [];
|
||||||
|
|
||||||
var NBSP='\u00a0';
|
var NBSP='\u00a0';
|
||||||
var DEGREES='\u00b0'
|
|
||||||
var UP_TRIANGLE='\u25b2'; // U+25B2 BLACK UP-POINTING TRIANGLE
|
|
||||||
var DOWN_TRIANGLE='\u25bc'; // U+25BC BLACK DOWN-POINTING TRIANGLE
|
|
||||||
|
|
||||||
function processReceiverUpdate(data) {
|
function processReceiverUpdate(data) {
|
||||||
// Loop through all the planes in the data packet
|
// Loop through all the planes in the data packet
|
||||||
|
|
Loading…
Reference in a new issue