Author: awiner
Date: Wed Mar 11 01:14:31 2009
New Revision: 752339

URL: http://svn.apache.org/viewvc?rev=752339&view=rev
Log:
Fix build breakage from r752190

Modified:
    
incubator/shindig/trunk/features/src/test/javascript/features/opensocial-data-context/datacontexttest.js

Modified: 
incubator/shindig/trunk/features/src/test/javascript/features/opensocial-data-context/datacontexttest.js
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/features/src/test/javascript/features/opensocial-data-context/datacontexttest.js?rev=752339&r1=752338&r2=752339&view=diff
==============================================================================
--- 
incubator/shindig/trunk/features/src/test/javascript/features/opensocial-data-context/datacontexttest.js
 (original)
+++ 
incubator/shindig/trunk/features/src/test/javascript/features/opensocial-data-context/datacontexttest.js
 Wed Mar 11 01:14:31 2009
@@ -32,7 +32,7 @@
 };
 
 DataContextTest.prototype.tearDown = function() {
-  var dataSets = osd.getDataContext().dataSets_;
+  var dataSets = opensocial.data.getDataContext().dataSets;
   for (var key in dataSets) {
     if (dataSets.hasOwnProperty(key)) {
       delete dataSets[key];
@@ -41,7 +41,7 @@
 };
 
 DataContextTest.prototype.testPutDataSet = function() {
-  var context = osd.getDataContext();
+  var context = opensocial.data.getDataContext();
 
   context.putDataSet('key', 'value');
   this.assertEquals('value', context.getDataSet('key'));
@@ -60,7 +60,7 @@
  * Test registerListener()
  */
 DataContextTest.prototype.testRegisterListener = function() {
-  var context = osd.getDataContext();
+  var context = opensocial.data.getDataContext();
   var listenerCalledWithKey = null;
   var that = this;
   var listener = function(key) {
@@ -88,7 +88,7 @@
  * Test registerListener()
  */
 DataContextTest.prototype.testRegisterListenerWithArray = function() {
-  var context = osd.getDataContext();
+  var context = opensocial.data.getDataContext();
   var listenerCalledWithKey = null;
   var that = this;
   var listener = function(key) {
@@ -114,7 +114,7 @@
  * Test registerListener() with '*'
  */
 DataContextTest.prototype.testRegisterListenerWithStar = function() {
-  var context = osd.getDataContext();
+  var context = opensocial.data.getDataContext();
   var listenerCalledWithKey = null;
   var that = this;
   var listener = function(key) {


Reply via email to