You wrote that if you write object in such way:
var obj = {
'option': 'This is template string',
new_option : 'This is another template'
}
there will be Syntax error on new_option line, cause you should put it inside quotes. In modern JavaScript, you can write without quotes and it won't be any error.
Saw this in Russian localisation.
You wrote that if you write object in such way: var obj = { 'option': 'This is template string', new_option : 'This is another template' } there will be Syntax error on new_option line, cause you should put it inside quotes. In modern JavaScript, you can write without quotes and it won't be any error. Saw this in Russian localisation.