mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Fix jshint errors
jshint complains: ^ ['placeholders'] is better written in dot notation. ^ Missing semicolon. // FREEBIE
This commit is contained in:
@@ -213,8 +213,8 @@ module.exports = function(grunt) {
|
||||
var messages = grunt.file.readJSON(abspath);
|
||||
|
||||
for (var key in messages){
|
||||
if (en[key]['placeholders'] !== undefined && messages[key]['placeholders'] === undefined){
|
||||
messages[key]['placeholders'] = en[key]['placeholders']
|
||||
if (en[key].placeholders !== undefined && messages[key].placeholders === undefined){
|
||||
messages[key].placeholders = en[key].placeholders;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user