Bug 1122480 - Part 3 - Remove preprocessor usage from aboutTelemetry.js. r=rvitillo

This commit is contained in:
Georg Fritzsche 2015-05-13 21:57:05 +02:00
parent 5f1b1e9c19
commit e02249a633
2 changed files with 3 additions and 6 deletions

View File

@ -33,11 +33,8 @@ const DEFAULT_SYMBOL_SERVER_URI = "http://symbolapi.mozilla.org";
// ms idle before applying the filter (allow uninterrupted typing)
const FILTER_IDLE_TIMEOUT = 500;
#ifdef XP_WIN
const EOL = "\r\n";
#else
const EOL = "\n";
#endif
const isWindows = (Services.appinfo.OS == "WINNT");
const EOL = isWindows ? "\r\n" : "\n";
// Cached value of document's RTL mode
let documentRTLMode = "";

View File

@ -27,7 +27,7 @@ toolkit.jar:
content/global/aboutwebrtc/aboutWebrtc.xhtml (aboutwebrtc/aboutWebrtc.xhtml)
* content/global/aboutSupport.js
* content/global/aboutSupport.xhtml
* content/global/aboutTelemetry.js
content/global/aboutTelemetry.js
content/global/aboutTelemetry.xhtml
content/global/aboutTelemetry.css (aboutTelemetry.css)
content/global/directionDetector.html