chore(skydrive) change quotes

This commit is contained in:
coderaiser 2014-04-24 02:59:52 -04:00
parent c36a125185
commit 47622e2d4d

View file

@ -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);
}
});