From 5a258d65228198c7593d08391762248b7be1a1c2 Mon Sep 17 00:00:00 2001 From: vitorsemeano Date: Mon, 4 Mar 2019 20:30:42 +0000 Subject: [PATCH] adjust var declarations for some specific cases --- src/scripts/site.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/scripts/site.js b/src/scripts/site.js index f810f8c0e1..fbc7804af1 100644 --- a/src/scripts/site.js +++ b/src/scripts/site.js @@ -270,12 +270,12 @@ var AppInfo = {}; function createConnectionManager() { return require(["connectionManagerFactory", "apphost", "credentialprovider", "events", "userSettings"], function (ConnectionManager, apphost, credentialProvider, events, userSettings) { - var credentialProviderInstance = new credentialProvider(), + var credentialProviderInstance = new credentialProvider(); var promises = [apphost.getSyncProfile(), apphost.init()]; Promise.all(promises).then(function (responses) { - var deviceProfile = responses[0], - capabilities = Dashboard.capabilities(apphost); + var deviceProfile = responses[0]; + var capabilities = Dashboard.capabilities(apphost); capabilities.DeviceProfile = deviceProfile;