Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: background.js

Issue 29544706: Noissue - Adapt check for devtools panel support for Firefox (Closed)
Patch Set: Rebase Created Sept. 23, 2017, 12:36 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | messageResponder.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: background.js
===================================================================
--- a/background.js
+++ b/background.js
@@ -402,6 +402,13 @@
port: new EventEmitter()
};
+ modules.coreUtils = {
+ compareVersion(v1, v2)
+ {
+ return parseFloat(v1) - parseFloat(v2);
+ }
+ };
+
window.addEventListener("message", (event) =>
{
if (event.data.type != "message")
@@ -446,15 +453,6 @@
}
});
- window.Services = {
- vc: {
- compare(v1, v2)
- {
- return parseFloat(v1) - parseFloat(v2);
- }
- }
- };
-
let filters = [
"@@||alternate.de^$document",
"@@||der.postillion.com^$document",
« no previous file with comments | « no previous file | messageResponder.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld