Fix jshint errors

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

// FREEBIE
pull/749/head
lilia 9 years ago
parent 693dd2bb46
commit 3383505377

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

Loading…
Cancel
Save