diff --git a/lib/client/storage/_skydrive.js b/lib/client/storage/_skydrive.js index 0f3dba3e..c7caadb2 100644 --- a/lib/client/storage/_skydrive.js +++ b/lib/client/storage/_skydrive.js @@ -36,30 +36,30 @@ var CloudCmd, Util, DOM, WL; }); WL.login({ - scope: ["wl.skydrive wl.signin"] + scope: ['wl.skydrive wl.signin'] }).then( function(response) { Util.log(response); }, function() { - Util.log("Failed to authenticate."); + Util.log('Failed to authenticate.'); }); - WL.Event.subscribe("auth.login", onLogin); + WL.Event.subscribe('auth.login', onLogin); }); } function onLogin() { - var strGreeting = ""; + var strGreeting = ''; WL.api({ - path: "me", - method: "GET" + path: 'me', + method: 'GET' }, function (response) { if (!response.error) { - strGreeting = "Hi, " + response.first_name + "!"; + strGreeting = 'Hi, ' + response.first_name + '!'; Util.log(strGreeting); } });