Move special-character definitions to formatter.js.

This commit is contained in:
Oliver Jowett 2015-02-22 01:29:02 +00:00
parent 0367429b9d
commit df64abe433
2 changed files with 5 additions and 3 deletions

View file

@ -1,6 +1,11 @@
// -*- mode: javascript; indent-tabs-mode: t; c-basic-offset: 8 -*-
"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"];
// formatting helpers

View file

@ -36,9 +36,6 @@ var FetchPending = null;
var MessageCountHistory = [];
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) {
// Loop through all the planes in the data packet