You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by mt...@apache.org on 2006/10/26 23:48:17 UTC

svn commit: r468192 - /incubator/xap/trunk/src/xap/data/bridge/IteratorBridge.js

Author: mturyn
Date: Thu Oct 26 16:48:16 2006
New Revision: 468192

URL: http://svn.apache.org/viewvc?view=rev&rev=468192
Log:
Fixed indenting.

Modified:
    incubator/xap/trunk/src/xap/data/bridge/IteratorBridge.js

Modified: incubator/xap/trunk/src/xap/data/bridge/IteratorBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/data/bridge/IteratorBridge.js?view=diff&rev=468192&r1=468191&r2=468192
==============================================================================
--- incubator/xap/trunk/src/xap/data/bridge/IteratorBridge.js (original)
+++ incubator/xap/trunk/src/xap/data/bridge/IteratorBridge.js Thu Oct 26 16:48:16 2006
@@ -99,35 +99,35 @@
     }
 	//if there is a data source, use it
 	if (dataSource != null) {
-	i = new xap.data.controller.Iterator(select, bindingType, element, name, this.getSession());
-	i.iterate(dataSource);
+		i = new xap.data.controller.Iterator(select, bindingType, element, name, this.getSession());
+		i.iterate(dataSource);
 	}
 	//if the id was blank, we must be relative to parent
 	else if ( dataSourceId == null || dataSourceId.length == 0) {
-	i = new xap.data.controller.Iterator(
-						 select, 
-						 bindingType, 
-						 element, 
-						 name,  
-						 this.getSession()
-						 ) ;    
+		i = new xap.data.controller.Iterator(
+											 select, 
+											 bindingType, 
+											 element, 
+											 name,  
+											 this.getSession()
+											 ) ;    
 
-	// The iterate call will handle parent not found
-	i.iterate() ;
+		// The iterate call will handle parent not found
+		i.iterate() ;
 	}
 	//if the id was not blank but it was not a data source it must
 	//be the name of some parent
 	else {
-	// The iterator will handle parent not found
-	i = new xap.data.controller.Iterator(
-						 select,
-						 bindingType,
-						 element,
-						 name,
-						 this.getSession(),
-						 dataSourceId
-						 ) ;
-	}	
+		// The iterator will handle parent not found
+		i = new xap.data.controller.Iterator(
+							 select,
+							 bindingType,
+							 element,
+							 name,
+							 this.getSession(),
+							 dataSourceId
+							 ) ;
+		}	
     
 };