/[Frey]/trunk/lib/Frey/Web.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/Frey/Web.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 948 by dpavlin, Tue Jan 6 15:26:19 2009 UTC revision 949 by dpavlin, Tue Jan 6 16:05:05 2009 UTC
# Line 201  sub _add_css_js { Line 201  sub _add_css_js {
201                          $content                          $content
202                          <!-- $type via $package at $path line $line -->                          <!-- $type via $package at $path line $line -->
203                  |;                  |;
204          } elsif ( $content =~ m{^(/|https?://)} ) {          } elsif ( $content =~ m{^(/\w+|https?://)} && $content !~ m{[\n\r]} ) {
205                  if ( $what eq 'js' ) {                  if ( $what eq 'js' ) {
206                          $head = qq|                          $head = qq|
207                                  <$tag type="$type" src="$content">                                  <$tag type="$type" src="$content">

Legend:
Removed from v.948  
changed lines
  Added in v.949

  ViewVC Help
Powered by ViewVC 1.1.26