cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r618337 - /cocoon/branches/BRANCH_2_1_X/src/blocks/ajax/resources/org/apache/cocoon/ajax/resources/manifest.js
Date Mon, 04 Feb 2008 17:32:10 GMT
Author: antonio
Date: Mon Feb  4 09:32:08 2008
New Revision: 618337

URL: http://svn.apache.org/viewvc?rev=618337&view=rev
Log:
Fix warning.

Modified:
    cocoon/branches/BRANCH_2_1_X/src/blocks/ajax/resources/org/apache/cocoon/ajax/resources/manifest.js

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/ajax/resources/org/apache/cocoon/ajax/resources/manifest.js
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/blocks/ajax/resources/org/apache/cocoon/ajax/resources/manifest.js?rev=618337&r1=618336&r2=618337&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/ajax/resources/org/apache/cocoon/ajax/resources/manifest.js
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/ajax/resources/org/apache/cocoon/ajax/resources/manifest.js
Mon Feb  4 09:32:08 2008
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
+
  /*
   * Mapping of all widget short names to their full package names
   * This is used for widget autoloading - no dojo.require() is necessary.
@@ -27,8 +27,9 @@
   *
   * @version $Id$
   */
-  
+
 dojo.provide("cocoon.ajax.manifest");
+dojo.require("dojo.ns");
 
 (function(){
 	var map = {
@@ -44,13 +45,13 @@
 		    // register vml widgets here
 		}
 	};
-	
+
 	function ajaxResolver(name, domain){
 		if(!domain){ domain="html"; }
 		if(!map[domain]){ return null; }
-		return map[domain][name];    
+		return map[domain][name];
 	}
-    
+
     dojo.registerModulePath("cocoon.ajax", "../ajax/js");
 	dojo.registerNamespace("ajax", "cocoon.ajax", ajaxResolver);
 



Mime
View raw message