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
|
|
@ -37,11 +37,7 @@ sub process {
|
|||
|
||||
# add CSS and JS to the page
|
||||
my $style = $session->style;
|
||||
$style->setLink($extras."/yui/build/container/assets/container.css",{
|
||||
rel=>"stylesheet",
|
||||
type=>"text/css",
|
||||
}
|
||||
);
|
||||
$style->setCss($extras."/yui/build/container/assets/container.css");
|
||||
|
||||
# and the JS
|
||||
$style->setScript($extras."/wgwidget.js");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue