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

Unified Diff: lib/notification.js

Issue 29567746: Noissue - Fixed typo with getLocalizedTexts function (Closed)
Patch Set: Created Oct. 6, 2017, 1 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/notification.js
diff --git a/lib/notification.js b/lib/notification.js
index 311e4e881389424155f1a61a3c351a3f69cfaf88..39b10d0b93cf0e61760d4d3dff5f2166ae0266da 100644
--- a/lib/notification.js
+++ b/lib/notification.js
@@ -364,7 +364,7 @@ let Notification = exports.Notification =
{
locale = locale || Utils.appLocale;
let textKeys = ["title", "message"];
- let localizedTexts = [];
+ let localizedTexts = {};
for (let key of textKeys)
{
if (key in notification)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld