vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r21833: LJSUP-11897: System to organize JS/CSS s...

Committer: vad
LJSUP-11897: System to organize JS/CSS sources into libraries
U   trunk/cgi-bin/Apache/LiveJournal.pm
Modified: trunk/cgi-bin/Apache/LiveJournal.pm
===================================================================
--- trunk/cgi-bin/Apache/LiveJournal.pm	2012-04-27 12:42:35 UTC (rev 21832)
+++ trunk/cgi-bin/Apache/LiveJournal.pm	2012-04-27 12:46:26 UTC (rev 21833)
@@ -380,8 +380,9 @@
 
     LJ::Request->pnotes( 'original_uri' => LJ::Request->uri );
 
-    # js/css file concatenation
-    if ($host eq "stat.$LJ::DOMAIN"){
+    ## JS/CSS file concatenation
+    ## skip it for .bml.
+    if ($host eq "stat.$LJ::DOMAIN" and LJ::Request->uri !~ /\.bml$/){
         Apache::LiveJournal::ConcatHeadFiles->load;
         LJ::Request->handler("perl-script");
         LJ::Request->set_handlers(PerlHandler => \&Apache::LiveJournal::ConcatHeadFiles::handler);

Tags: livejournal, pm, vad, vadvs
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments