Remove types for setScript calls, add setCss, which is shorthand for setLink with the CSS specific params preset.
This commit is contained in:
parent
17d9deb085
commit
1f42a0a24e
50 changed files with 159 additions and 173 deletions
|
|
@ -129,7 +129,7 @@ sub headTags {
|
|||
my $self = shift;
|
||||
my ($style, $url) = $self->session->quick(qw(style url));
|
||||
if ($self->get("resizable")) {
|
||||
$style->setLink($url->extras("yui/build/resize/assets/skins/sam/resize.css"), {type=>"text/css", rel=>"stylesheet"});
|
||||
$style->setCss($url->extras("yui/build/resize/assets/skins/sam/resize.css"));
|
||||
$style->setScript($url->extras("yui/build/utilities/utilities.js"));
|
||||
$style->setScript($url->extras("yui/build/resize/resize-min.js"));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue