From 4e7776aa3fa5ba3c1fd932c79ce741a4eb8d89fd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 16 Oct 2012 16:23:11 +0200 Subject: [PATCH] =?utf8?q?add=5F[stylesheets|javascripts]=20aliase=20f?= =?utf8?q?=C3=BCr=20use[stylesheet|javascript]?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Layout/Base.pm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/SL/Layout/Base.pm b/SL/Layout/Base.pm index 1d31a8228..18ef133e9 100644 --- a/SL/Layout/Base.pm +++ b/SL/Layout/Base.pm @@ -65,6 +65,10 @@ sub javascripts_inline { # Interface ######################################## +sub add_stylesheets { + &use_stylesheet; +} + sub use_stylesheet { my $self = shift; push @{ $self->{stylesheets} ||= [] }, @_ if @_; @@ -105,6 +109,9 @@ sub get_stylesheet_for_user { return $css_path; } +sub add_javascripts { + &use_javascript +} sub use_javascript { my $self = shift; -- 2.20.1