Created
May 13, 2015 19:39
-
-
Save beckettkev/57d0b3a890a3e8bb9e18 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery.ajax({ | |
… | |
success: function (data) { | |
var _resultSet = { | |
properties: data.d.UserProfileProperties.results, | |
accountName: data.d.AccountName, | |
email: data.d.Email, | |
personalUrl: data.d.PersonalUrl | |
}; | |
jQuery.SubscriptionEvent('myProperties').publish(_resultSet); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment