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

        Patch by fu. 

diffs (44 lines):

diff -r 8342cfe92a3f -r 88b132bdd652 cgi-bin/bml/scheme/tropo-purple.look
--- a/cgi-bin/bml/scheme/tropo-purple.look      Sat Aug 28 19:12:32 2010 +0800
+++ b/cgi-bin/bml/scheme/tropo-purple.look      Wed Sep 01 23:00:41 2010 +0800
@@ -39,10 +39,14 @@ head<=
     <meta http-equiv="content-type" content="text/html; charset=utf-8" />
 
     <?_code
-        LJ::need_res( { priority => $LJ::SCHEME_RES_PRIORITY }, 
"stc/lj_base-app.css" );
-        LJ::need_res( { priority => $LJ::SCHEME_RES_PRIORITY }, 
"stc/tropo/reset.css" );
-        LJ::need_res( { priority => $LJ::SCHEME_RES_PRIORITY }, 
"stc/tropo/tropo-base.css" );
-        LJ::need_res( { priority => $LJ::SCHEME_RES_PRIORITY }, 
"stc/tropo/tropo-purple.css" );
+        LJ::need_res( { priority => $LJ::SCHEME_RES_PRIORITY },
+            qw( stc/jquery/jquery.ui.theme.smoothness.css
+                stc/lj_base-app.css
+                stc/tropo/reset.css
+                stc/tropo/tropo-base.css
+                stc/tropo/tropo-purple.css
+            )
+        );
 
         # we support both old style and new style pages; only one of these 
will get
         # loaded ...
diff -r 8342cfe92a3f -r 88b132bdd652 cgi-bin/bml/scheme/tropo-red.look
--- a/cgi-bin/bml/scheme/tropo-red.look Sat Aug 28 19:12:32 2010 +0800
+++ b/cgi-bin/bml/scheme/tropo-red.look Wed Sep 01 23:00:41 2010 +0800
@@ -39,10 +39,14 @@ head<=
     <meta http-equiv="content-type" content="text/html; charset=utf-8" />
 
     <?_code
-        LJ::need_res( { priority => $LJ::SCHEME_RES_PRIORITY }, 
"stc/lj_base-app.css" );
-        LJ::need_res( { priority => $LJ::SCHEME_RES_PRIORITY }, 
"stc/tropo/reset.css" );
-        LJ::need_res( { priority => $LJ::SCHEME_RES_PRIORITY }, 
"stc/tropo/tropo-base.css" );
-        LJ::need_res( { priority => $LJ::SCHEME_RES_PRIORITY }, 
"stc/tropo/tropo-red.css" );
+        LJ::need_res( { priority => $LJ::SCHEME_RES_PRIORITY },
+            qw( stc/jquery/jquery.ui.theme.smoothness.css
+                stc/lj_base-app.css
+                stc/tropo/reset.css
+                stc/tropo/tropo-base.css
+                stc/tropo/tropo-red.css
+            )
+        );
 
         # we support both old style and new style pages; only one of these 
will get
         # loaded ...
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to