[Jifty-commit] r6754 - jifty/trunk/lib/Jifty/Plugin
Jifty commits
jifty-commit at lists.jifty.org
Thu Apr 9 18:39:11 EDT 2009
Author: alexmv
Date: Thu Apr 9 18:39:09 2009
New Revision: 6754
Modified:
jifty/trunk/lib/Jifty/Plugin/IEFixes.pm
Log:
Document Jifty::Plugin::IEFixes
Modified: jifty/trunk/lib/Jifty/Plugin/IEFixes.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/IEFixes.pm (original)
+++ jifty/trunk/lib/Jifty/Plugin/IEFixes.pm Thu Apr 9 18:39:09 2009
@@ -34,6 +34,15 @@
use constant IE7JS_VERSION => '2.0(beta3)';
+=head1 METHODS
+
+=head2 init
+
+Outputs IE-specific "conditional comments" in the C<< <head> >> of
+each response which include more javascript.
+
+=cut
+
sub init {
my $self = shift;
return if $self->_pre_init;
@@ -66,6 +75,14 @@
}
+=head2 add_javascript FILE
+
+Can be called during application initialization (at startup time) to
+add more javascript which should only be included in IE browsers. See
+also L<Jifty::Web/add_javascript>.
+
+=cut
+
sub add_javascript {
my $self = shift;
push @{ $self->user_js }, @_;
More information about the Jifty-commit
mailing list