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
|
|
@ -64,7 +64,7 @@ sub toHtml {
|
|||
my ( $self ) = @_;
|
||||
my ( $style, $url ) = $self->session->quick(qw( style url ));
|
||||
|
||||
$style->setLink( $url->extras("yui/build/tabview/assets/skins/sam/tabview.css"), { rel => "stylesheet", type => "text/css" } );
|
||||
$style->setCss( $url->extras("yui/build/tabview/assets/skins/sam/tabview.css"));
|
||||
$style->setScript( $url->extras("yui/build/yahoo-dom-event/yahoo-dom-event.js") );
|
||||
$style->setScript( $url->extras("yui/build/element/element-min.js") );
|
||||
$style->setScript( $url->extras("yui/build/tabview/tabview-min.js") );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue