Update Session->Style setScript to default to text/javascript. Update the entire codebase to take advantage of it.
This commit is contained in:
parent
808f38b2a6
commit
3fbc109429
53 changed files with 254 additions and 352 deletions
|
|
@ -44,18 +44,9 @@ sub process {
|
|||
);
|
||||
|
||||
# and the JS
|
||||
$style->setScript($extras."/wgwidget.js",{
|
||||
type=>"text/javascript"
|
||||
}
|
||||
);
|
||||
$style->setScript($extras."/yui/build/yahoo-dom-event/yahoo-dom-event.js",{
|
||||
type=>"text/javascript"
|
||||
}
|
||||
);
|
||||
$style->setScript($extras."/yui/build/container/container-min.js",{
|
||||
type=>"text/javascript"
|
||||
}
|
||||
);
|
||||
$style->setScript($extras."/wgwidget.js");
|
||||
$style->setScript($extras."/yui/build/yahoo-dom-event/yahoo-dom-event.js");
|
||||
$style->setScript($extras."/yui/build/container/container-min.js");
|
||||
|
||||
# construct the absolute URL and get the asset ID
|
||||
my $asset = eval { WebGUI::Asset->newByUrl($session, $url); };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue