Jifty::Plugin::IEFixes(3pm)

Jifty::Plugin::IEFixes3pm

Add javascript files for ie

Usage

# In your jifty config.yml under the framework section:

  Plugins:
    - IEFixes:
        use_external_ie7js: 1
        js:
          - IE7
          - IE8
          - ie7-recalc
          - ie7-squish
        cdn: 'http://yourcdn.for.static.prefix/'
  In your app, if you want to add more IE-specific js:
    my ($ief) = Jifty->find_plugin('Jifty::Plugin::IEFixes')
    $ief->add_javascript( qw(file.js) );

Methods

init

Outputs IE-specific "conditional comments" in the "<head>" of each response which include more javascript.

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 "add_javascript" in Jifty::Web.

Releases

2 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0
  2. 7

From libjifty-perl 1.10518+dfsg-2 in Debian 7 (Wheezy). Parsed by carta from the page's man source.