Author: evan
Date: Tue Sep 16 10:50:43 2008
New Revision: 695988

URL: http://svn.apache.org/viewvc?rev=695988&view=rev
Log:
Extend OST compiler support to <os:Render>

Patch from Lev Epshteyn for SHINDIG-603

Modified:
    incubator/shindig/trunk/features/opensocial-templates/compiler.js

Modified: incubator/shindig/trunk/features/opensocial-templates/compiler.js
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/features/opensocial-templates/compiler.js?rev=695988&r1=695987&r2=695988&view=diff
==============================================================================
--- incubator/shindig/trunk/features/opensocial-templates/compiler.js (original)
+++ incubator/shindig/trunk/features/opensocial-templates/compiler.js Tue Sep 
16 10:50:43 2008
@@ -436,8 +436,9 @@
         var context = node.getAttribute("context") || "$this||true";
         output.setAttribute(ATT_select, context);
 
-        // For renderAll, create a parent node reference.
-        if (node.tagName == "os:renderAll" || node.tagName == "os:RenderAll") {
+        // For os:Render, create a parent node reference.
+        if (node.tagName == "os:render" || node.tagName == "os:Render" ||
+            node.tagName == "os:renderAll" || node.tagName == "os:RenderAll") {
           os.appendJSTAttribute_(output, ATT_values, os.VAR_parentnode + ":" +
               os.VAR_node);
         }


Reply via email to