From a37d6220141d199af40138f37153a27ca2bcd32b Mon Sep 17 00:00:00 2001 From: Eric Binnion Date: Mon, 7 Dec 2015 13:30:25 -0600 Subject: [PATCH] Me: ESLint fixes for decodeUserSettingsEntities method of user-settings --- client/lib/user-settings/index.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/client/lib/user-settings/index.js b/client/lib/user-settings/index.js index c02c401e58677..a721621cfb84d 100644 --- a/client/lib/user-settings/index.js +++ b/client/lib/user-settings/index.js @@ -15,19 +15,20 @@ var Emitter = require( 'lib/mixins/emitter' ), wpcom = require( 'lib/wp' ).undocumented(), user = require( 'lib/user' )(); -/** +/* * Decodes entities in those specific user settings properties * that the REST API returns already HTML-encoded */ function decodeUserSettingsEntities( data ) { let decodedValues = { - display_name: data.display_name && decodeEntities( data.display_name ), - description: data.description && decodeEntities( data.description ), - user_URL: data.user_URL && decodeEntities( data.user_URL ) + display_name: data.display_name && decodeEntities( data.display_name ), + description: data.description && decodeEntities( data.description ), + user_URL: data.user_URL && decodeEntities( data.user_URL ) }; return assign( {}, data, decodedValues ); } + /** * Initialize UserSettings with defaults */