Allow views to choose whether they're using the jQuery library or the 
old library.

        Patch by fu. 

diffs (20 lines):

diff -r 21401aa19753 -r 232430f6e041 cgi-bin/DW/Template/Plugin.pm
--- a/cgi-bin/DW/Template/Plugin.pm     Tue Aug 31 17:47:56 2010 +0800
+++ b/cgi-bin/DW/Template/Plugin.pm     Wed Sep 01 19:08:37 2010 +0800
@@ -58,6 +58,16 @@ sub need_res {
     return LJ::need_res( @_ );
 }
 
+=head2 active_resource_group
+
+Set the resource group to be loaded for this page.
+
+=cut
+
+sub active_resource_group {
+    return LJ::set_active_resource_group( $_[1] );
+}
+
 =head2 ml_scope
 
 Get or set the ML scope of the template
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to