[Jifty-commit] r3396 - in jifty/branches/js-refactor: . lib/Jifty lib/Jifty/Plugin share/plugins/Jifty/Plugin/Rico share/plugins/Jifty/Plugin/Rico/web share/plugins/Jifty/Plugin/Rico/web/static/js share/web/static/js

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Fri Jun 8 01:29:12 EDT 2007


Author: trs
Date: Fri Jun  8 01:29:12 2007
New Revision: 3396

Added:
   jifty/branches/js-refactor/lib/Jifty/Plugin/Rico.pm
   jifty/branches/js-refactor/share/plugins/Jifty/Plugin/Rico/
   jifty/branches/js-refactor/share/plugins/Jifty/Plugin/Rico/web/
   jifty/branches/js-refactor/share/plugins/Jifty/Plugin/Rico/web/static/
   jifty/branches/js-refactor/share/plugins/Jifty/Plugin/Rico/web/static/js/
   jifty/branches/js-refactor/share/plugins/Jifty/Plugin/Rico/web/static/js/rico.js
      - copied unchanged from r3375, /jifty/branches/js-refactor/share/web/static/js/rico.js
Removed:
   jifty/branches/js-refactor/share/web/static/js/rico.js
Modified:
   jifty/branches/js-refactor/   (props changed)
   jifty/branches/js-refactor/lib/Jifty/Config.pm
   jifty/branches/js-refactor/lib/Jifty/Web.pm

Log:
 r21851 at zot:  tom | 2007-06-08 01:28:47 -0400
 Extracted Rico


Modified: jifty/branches/js-refactor/lib/Jifty/Config.pm
==============================================================================
--- jifty/branches/js-refactor/lib/Jifty/Config.pm	(original)
+++ jifty/branches/js-refactor/lib/Jifty/Config.pm	Fri Jun  8 01:29:12 2007
@@ -340,9 +340,10 @@
             { AdminUI               => {}, },
 
             # JS libs which are now turning into plugins
-            { CSSBrowserSelectorJS  => {}, }
-            { FormatDateJS          => {}, }
-            { JSAN                  => {}, }
+            { CSSBrowserSelectorJS  => {}, },
+            { FormatDateJS          => {}, },
+            { JSAN                  => {}, },
+            { Rico                  => {}, },
         );
     }
 

Added: jifty/branches/js-refactor/lib/Jifty/Plugin/Rico.pm
==============================================================================
--- (empty file)
+++ jifty/branches/js-refactor/lib/Jifty/Plugin/Rico.pm	Fri Jun  8 01:29:12 2007
@@ -0,0 +1,22 @@
+use strict;
+use warnings;
+
+package Jifty::Plugin::Rico;
+use base qw/Jifty::Plugin/;
+
+=head1 NAME
+
+Jifty::Plugin::Rico
+
+=head1 DESCRIPTION
+
+This plugin provides a modified (and outdated!) version of the Rico JavaScript
+library.
+
+See L<http://openrico.org> for more information.
+
+=cut
+
+sub init { Jifty->web->add_javascript( 'rico.js' ) }
+
+1;

Modified: jifty/branches/js-refactor/lib/Jifty/Web.pm
==============================================================================
--- jifty/branches/js-refactor/lib/Jifty/Web.pm	(original)
+++ jifty/branches/js-refactor/lib/Jifty/Web.pm	Fri Jun  8 01:29:12 2007
@@ -30,6 +30,14 @@
            cached_javascript cached_javascript_digest cached_javascript_time javascript_libs);
 
 __PACKAGE__->javascript_libs([qw(
+    yui/yahoo.js
+    yui/dom.js
+    yui/event.js
+    yui/calendar.js
+    yui/element-beta.js
+    yui/tabview.js
+    yui/container.js
+    yui/menu.js
     json.js
     prototype.js
     cssquery/cssQuery.js
@@ -51,15 +59,6 @@
     key_bindings.js
     context_menu.js
     bps_util.js
-    rico.js
-    yui/yahoo.js
-    yui/dom.js
-    yui/event.js
-    yui/calendar.js
-    yui/element-beta.js
-    yui/tabview.js
-    yui/container.js
-    yui/menu.js
     app.js
     app_behaviour.js
 )]);


More information about the Jifty-commit mailing list