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

Unified Diff: lib/notificationHelper.js

Issue 5000038044401664: Issue 2656 - Fixed notification shown in popup (Closed)
Patch Set: Considered active notification being nullable in documentation Created June 6, 2015, 9:51 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 | notification.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/notificationHelper.js
===================================================================
--- a/lib/notificationHelper.js
+++ b/lib/notificationHelper.js
@@ -226,4 +226,14 @@
prepareNotificationIconAndPopup();
};
+/**
+ * Gets the active notification to be shown if any.
+ *
+ * @return {?object}
+ */
+exports.getActiveNotification = function()
+{
+ return activeNotification;
+};
+
setTimeout(showNextNotification, 3 * 60 * 1000);
« no previous file with comments | « no previous file | notification.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld