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

Unified Diff: lib/main.js

Issue 6061584040329216: Issue 2544 - Fix documentation generation for Diagnostics (Closed)
Patch Set: Updated compatibility info Created May 18, 2015, 7:42 p.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 | metadata.gecko » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/main.js
===================================================================
--- a/lib/main.js
+++ b/lib/main.js
@@ -47,17 +47,17 @@ new WindowObserver({
});
function getMenuItem()
{
// Randomize URI to work around bug 719376
let stringBundle = Services.strings.createBundle("chrome://abpwatcher/locale/global.properties?" + Math.random());
let result = [stringBundle.GetStringFromName("startwatching.label"), stringBundle.GetStringFromName("startwatching.accesskey")];
- getMenuItem = function() result;
+ getMenuItem = () => result;
return getMenuItem();
}
function popupShowingHandler(event)
{
let popup = event.originalTarget;
if (!/^(abp-(?:toolbar|status|menuitem)-)popup$/.test(popup.id))
return;
« no previous file with comments | « no previous file | metadata.gecko » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld