[Jifty-commit] r6412 - in jifty/trunk: . plugins.old/ProfileBehaviour/lib/Jifty/Plugin plugins.old/ProfileBehaviour/lib/Jifty/Plugin/ProfileBehaviour

Jifty commits jifty-commit at lists.jifty.org
Tue Feb 24 23:49:19 EST 2009


Author: alexmv
Date: Tue Feb 24 23:49:19 2009
New Revision: 6412

Removed:
   jifty/trunk/plugins.old/ProfileBehaviour/lib/Jifty/Plugin/ProfileBehaviour/
   jifty/trunk/plugins.old/ProfileBehaviour/share/web/templates/
Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/plugins.old/ProfileBehaviour/lib/Jifty/Plugin/ProfileBehaviour.pm

Log:
 r42552 at kohr-ah:  chmrr | 2009-02-24 23:48:23 -0500
 Remove empty directories and document ProfileBehavior.  It may even work with current Jifty now.


Modified: jifty/trunk/plugins.old/ProfileBehaviour/lib/Jifty/Plugin/ProfileBehaviour.pm
==============================================================================
--- jifty/trunk/plugins.old/ProfileBehaviour/lib/Jifty/Plugin/ProfileBehaviour.pm	(original)
+++ jifty/trunk/plugins.old/ProfileBehaviour/lib/Jifty/Plugin/ProfileBehaviour.pm	Tue Feb 24 23:49:19 2009
@@ -4,7 +4,26 @@
 package Jifty::Plugin::ProfileBehaviour;
 use base qw/Jifty::Plugin/;
 
-# Your plugin goes here.  If takes any configuration or arguments, you
-# probably want to override L<Jifty::Plugin/init>.
+=head1 NAME
+
+Jifty::Plugin::ProfileBehaviour - Overrides behavior.js to add profiling information
+
+=head1 DESCRIPTION
+
+This plugin overrides the stock behavior.js library to add timing and
+profiling information.  Add it if your web pages are slow to style,
+and you want to track down which rules are causing the slowness.
+
+=head1 METHODS
+
+=head2 init
+
+Adds the CSS file needed for on-screen profiling.
+
+=cut
+
+sub init {
+    Jifty->web->add_css('behavior-profile.css');
+}
 
 1;


More information about the Jifty-commit mailing list