Author: hsaputra
Date: Fri May 18 21:10:47 2012
New Revision: 1340252
URL: http://svn.apache.org/viewvc?rev=1340252&view=rev
Log:
Simple text change to describe associated context in the sample gadget.
Modified:
shindig/trunk/content/samplecontainer/examples/embeddedexperiences/BlogViewer.xml
Modified:
shindig/trunk/content/samplecontainer/examples/embeddedexperiences/BlogViewer.xml
URL:
http://svn.apache.org/viewvc/shindig/trunk/content/samplecontainer/examples/embeddedexperiences/BlogViewer.xml?rev=1340252&r1=1340251&r2=1340252&view=diff
==============================================================================
---
shindig/trunk/content/samplecontainer/examples/embeddedexperiences/BlogViewer.xml
(original)
+++
shindig/trunk/content/samplecontainer/examples/embeddedexperiences/BlogViewer.xml
Fri May 18 21:10:47 2012
@@ -36,8 +36,8 @@
if(context.openSocial) {
var associatedContext =
context.openSocial.associatedContext;
if(associatedContext) {
- document.getElementById('source').innerHTML =
"<p>The source id is " + associatedContext.id + "</p>";
- document.getElementById('type').innerHTML =
"<p>The source type is " + associatedContext.type + "</p>";
+ document.getElementById('source').innerHTML =
"<p>The associated context source id is " + associatedContext.id + "</p>";
+ document.getElementById('type').innerHTML =
"<p>The associated context source type is " + associatedContext.type + "</p>";
document.getElementById('target').innerHTML =
"<p>The blog title is " + associatedContext.objectReference.target.displayName
+ "<p>";
document.getElementById('photo').innerHTML =
"<p>The title of the new photo is " +
associatedContext.objectReference.object.summary + "<p>";
}