We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The example for 13.14 has an incorrect method for getting the DataContext:
var viewer = opensocial.data.getContext().getDataSet('Viewer'); alert('Hello ' + viewer.name); os.data.getDataContext().putDataSet('Params', {"Page": 2, "PageSize": 10}); opensocial.data.getDataContext().registerListener('Friends', function(key) { var el = document.getElementById('friend-details'); el.style.display = 'show'; });
So should be updated to this:
var viewer = opensocial.data.getDataContext().getDataSet('Viewer'); alert('Hello ' + viewer.name); opensocial.data.getDataContext().putDataSet('Params', {"Page": 2, "PageSize": 10}); opensocial.data.getDataContext().registerListener('Friends', function(key) { var el = document.getElementById('friend-details'); el.style.display = 'show'; });
And the API definition for 13.14.1 is incorrect:
13.14.1 getContext Signature <static> DataContext opensocial.data.getContext()
13.14.1 getDataContext Signature <static> DataContext opensocial.data.getDataContext()
The text was updated successfully, but these errors were encountered:
Thanks Simon, I'll look into this.
Sorry, something went wrong.
No branches or pull requests
The example for 13.14 has an incorrect method for getting the DataContext:
So should be updated to this:
And the API definition for 13.14.1 is incorrect:
So should be updated to this:
The text was updated successfully, but these errors were encountered: