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); |