Максим Червонный (fiskus_boulder) wrote in changelog,
Максим Червонный
fiskus_boulder
changelog

[livejournal] r20141: LJSUP-9913: Refactoring of print_comment...

Committer: mchervonniy
LJSUP-9913: Refactoring of print_comments() function in s2 styles
U   trunk/bin/upgrading/s2layers/digitalmultiplex/layout.s2
U   trunk/bin/upgrading/s2layers/punquin/layout.s2
U   trunk/bin/upgrading/s2layers/sixhtml/layout.s2
U   trunk/bin/upgrading/s2layers/tabularindent/layout.s2
Modified: trunk/bin/upgrading/s2layers/digitalmultiplex/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/digitalmultiplex/layout.s2	2011-09-27 09:38:16 UTC (rev 20140)
+++ trunk/bin/upgrading/s2layers/digitalmultiplex/layout.s2	2011-09-27 10:23:24 UTC (rev 20141)
@@ -1263,9 +1263,7 @@
 }
 
 function EntryPage::print_comments (Comment[] cs) {
-    var Page p = get_page();
     if (size $cs == 0) { return; }
-
     foreach var Comment c ($cs) {
         $this->print_comment($c);
         $this->print_comments($c.replies);

Modified: trunk/bin/upgrading/s2layers/punquin/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/punquin/layout.s2	2011-09-27 09:38:16 UTC (rev 20140)
+++ trunk/bin/upgrading/s2layers/punquin/layout.s2	2011-09-27 10:23:24 UTC (rev 20141)
@@ -855,9 +855,7 @@
 }
 
 function EntryPage::print_comments (Comment[] cs) {
-    var Page p = get_page();
     if (size $cs == 0) { return; }
-
     foreach var Comment c ($cs) {
         $this->print_comment($c);
         $this->print_comments($c.replies);

Modified: trunk/bin/upgrading/s2layers/sixhtml/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/sixhtml/layout.s2	2011-09-27 09:38:16 UTC (rev 20140)
+++ trunk/bin/upgrading/s2layers/sixhtml/layout.s2	2011-09-27 10:23:24 UTC (rev 20141)
@@ -1018,9 +1018,7 @@
 }
 
 function EntryPage::print_comments (Comment[] cs) {
-    var Page p = get_page();
     if (size $cs == 0) { return; }
-
     foreach var Comment c ($cs) {
         $this->print_comment($c);
         $this->print_comments($c.replies);

Modified: trunk/bin/upgrading/s2layers/tabularindent/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/tabularindent/layout.s2	2011-09-27 09:38:16 UTC (rev 20140)
+++ trunk/bin/upgrading/s2layers/tabularindent/layout.s2	2011-09-27 10:23:24 UTC (rev 20141)
@@ -1028,7 +1028,6 @@
 }
 
 function EntryPage::print_comments (Comment[] cs) {
-    var Page p = get_page();
     if (size $cs == 0) { return; }
     foreach var Comment c ($cs) {
         $this->print_comment($c);

Tags: fiskus_boulder, livejournal, s2
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