fixbug: unreachable code after return statement

This commit is contained in:
Clément 2018-11-25 15:26:05 +01:00
parent 1d0e1ea90b
commit 416b8a2f77

View File

@ -83,7 +83,6 @@ document.addEventListener('WebComponentsReady', function(event) {
return 'div'; return 'div';
} }
getTemplate(value, index) { getTemplate(value, index) {
return JSON.stringify(value);
var firstname, lastname; var firstname, lastname;
if (typeof value == 'object') if (typeof value == 'object')
if (Object.keys(value).length > 1) { if (Object.keys(value).length > 1) {