Subject: | class config not honored |
Hi,
when creating a View that inherits Catalyst::View::JavaScript::Minifier::XS, a config directive
like
__PACKAGE__->config( path => 'static/js' );
or a catalyst-application-wide config for the view created will not get honored. A simple
patch could easily solve the problem.
< my %config = ( stash_variable => 'js', path => 'js', subinclude => 0, %{ $class->config
}, %$arguments );
---
Show quoted text
> my %config = ( stash_variable => 'js', path => 'js', subinclude => 0, %$arguments );
the same patch would help in Catalyst::View::CSS::Minifier::XS also.
btw. I like both modules very much!