Fix jshint errors

jshint complains:
  ^ ['placeholders'] is better written in dot notation.
  ^ Missing semicolon.

// FREEBIE
This commit is contained in:
lilia 2016-01-25 14:16:06 -08:00
parent 693dd2bb46
commit 3383505377

View file

@ -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;
}
}