aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--async.php2
-rw-r--r--include/classes/Application.php1
-rw-r--r--include/classes/BigPipe/BigPipe.php1
-rw-r--r--include/classes/BigPipe/Item.php1
-rw-r--r--include/classes/BigPipe/Pagelet.php1
-rw-r--r--include/classes/BigPipe/Resource.php1
-rw-r--r--include/classes/BigPipe/Resource/Javascript.php1
-rw-r--r--include/classes/BigPipe/Resource/Stylesheet.php1
-rw-r--r--include/classes/Debugging/Pagelet.php1
-rw-r--r--include/classes/Debugging/Resource/Javascript.php1
-rw-r--r--include/classes/Debugging/Resource/Stylesheet.php1
-rw-r--r--include/pagelets.php1
-rw-r--r--index.php2
-rw-r--r--license.md2
-rw-r--r--output-flushing-test.php1
-rw-r--r--readme.md2
-rw-r--r--static/bigpipe.js2
-rw-r--r--static/blue.php2
-rw-r--r--static/green.php2
-rw-r--r--static/red.php2
20 files changed, 8 insertions, 20 deletions
diff --git a/async.php b/async.php
index 270a15a..3d444c8 100644
--- a/async.php
+++ b/async.php
@@ -97,4 +97,4 @@ if(isAsyncRequest()) {
BigPipe\BigPipe::completeResponse();
?>
</body>
-</html> \ No newline at end of file
+</html>
diff --git a/include/classes/Application.php b/include/classes/Application.php
index d6ef6c5..88161cc 100644
--- a/include/classes/Application.php
+++ b/include/classes/Application.php
@@ -35,4 +35,3 @@ class Application {
return $Javascript;
}
}
-?> \ No newline at end of file
diff --git a/include/classes/BigPipe/BigPipe.php b/include/classes/BigPipe/BigPipe.php
index d84083e..30e3f41 100644
--- a/include/classes/BigPipe/BigPipe.php
+++ b/include/classes/BigPipe/BigPipe.php
@@ -95,4 +95,3 @@ class BigPipe {
}
}
}
-?> \ No newline at end of file
diff --git a/include/classes/BigPipe/Item.php b/include/classes/BigPipe/Item.php
index cf62237..4b59347 100644
--- a/include/classes/BigPipe/Item.php
+++ b/include/classes/BigPipe/Item.php
@@ -40,4 +40,3 @@ abstract class Item {
return $this->phaseDoneJS[$phase][] = $callback;
}
}
-?> \ No newline at end of file
diff --git a/include/classes/BigPipe/Pagelet.php b/include/classes/BigPipe/Pagelet.php
index 07b7d87..45c64fb 100644
--- a/include/classes/BigPipe/Pagelet.php
+++ b/include/classes/BigPipe/Pagelet.php
@@ -175,4 +175,3 @@ class Pagelet extends Item {
return $pageletHTML;
}
}
-?> \ No newline at end of file
diff --git a/include/classes/BigPipe/Resource.php b/include/classes/BigPipe/Resource.php
index 2ba216d..f4f3138 100644
--- a/include/classes/BigPipe/Resource.php
+++ b/include/classes/BigPipe/Resource.php
@@ -62,4 +62,3 @@ abstract class Resource extends Item {
return ['ID' => $this->getID(), 'HREF' => $this->getURL(), 'PHASE' => $this->getPhaseDoneJS()];
}
}
-?> \ No newline at end of file
diff --git a/include/classes/BigPipe/Resource/Javascript.php b/include/classes/BigPipe/Resource/Javascript.php
index 8afb5df..3ce5d0d 100644
--- a/include/classes/BigPipe/Resource/Javascript.php
+++ b/include/classes/BigPipe/Resource/Javascript.php
@@ -24,4 +24,3 @@ class Javascript extends \BigPipe\Resource {
return sprintf('<script data-id="%s" src="%s"></script>', $this->getID(), $this->getURL());
}
}
-?> \ No newline at end of file
diff --git a/include/classes/BigPipe/Resource/Stylesheet.php b/include/classes/BigPipe/Resource/Stylesheet.php
index 2185446..94561b8 100644
--- a/include/classes/BigPipe/Resource/Stylesheet.php
+++ b/include/classes/BigPipe/Resource/Stylesheet.php
@@ -24,4 +24,3 @@ class Stylesheet extends \BigPipe\Resource {
return sprintf('<link data-id="%s" href="%s" rel="stylesheet" />', $this->getID(), $this->getURL());
}
}
-?> \ No newline at end of file
diff --git a/include/classes/Debugging/Pagelet.php b/include/classes/Debugging/Pagelet.php
index a06ff4c..e4e15f6 100644
--- a/include/classes/Debugging/Pagelet.php
+++ b/include/classes/Debugging/Pagelet.php
@@ -11,4 +11,3 @@ class Pagelet extends \BigPipe\Pagelet {
}
}
}
-?> \ No newline at end of file
diff --git a/include/classes/Debugging/Resource/Javascript.php b/include/classes/Debugging/Resource/Javascript.php
index b8d5bc3..71ac8cf 100644
--- a/include/classes/Debugging/Resource/Javascript.php
+++ b/include/classes/Debugging/Resource/Javascript.php
@@ -11,4 +11,3 @@ class Javascript extends \BigPipe\Resource\Javascript {
}
}
}
-?> \ No newline at end of file
diff --git a/include/classes/Debugging/Resource/Stylesheet.php b/include/classes/Debugging/Resource/Stylesheet.php
index 7d9c8d8..4efe610 100644
--- a/include/classes/Debugging/Resource/Stylesheet.php
+++ b/include/classes/Debugging/Resource/Stylesheet.php
@@ -11,4 +11,3 @@ class Stylesheet extends \BigPipe\Resource\Stylesheet {
}
}
}
-?> \ No newline at end of file
diff --git a/include/pagelets.php b/include/pagelets.php
index ff71edf..ed1f8a0 100644
--- a/include/pagelets.php
+++ b/include/pagelets.php
@@ -73,4 +73,3 @@ $PageletGreen->addHTML('<section id="green" class="text">I AM A PAGELET WITH GRE
$PageletGreen->addResource(Application::createStylesheet('green-stylesheet', 'static/green.php'));
$PageletGreen->addResource(Application::createJavascript('delayed-javascript', 'static/delayJS.php'));
$PageletGreen->addJSCode("document.getElementById('green').innerHTML += ' [JS executed]';document.getElementById('green').style.borderRadius = '30px';");
-?> \ No newline at end of file
diff --git a/index.php b/index.php
index 59e8709..a407512 100644
--- a/index.php
+++ b/index.php
@@ -35,4 +35,4 @@ echo $PageletGreen;
BigPipe\BigPipe::completeResponse();
?>
</body>
-</html> \ No newline at end of file
+</html>
diff --git a/license.md b/license.md
index 444ae6d..ca0fcb0 100644
--- a/license.md
+++ b/license.md
@@ -6,4 +6,4 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/output-flushing-test.php b/output-flushing-test.php
index 410208f..53cfca8 100644
--- a/output-flushing-test.php
+++ b/output-flushing-test.php
@@ -9,4 +9,3 @@ for($i = 1; $i <= 8; $i++) {
}
echo '[ALL BLOCKS LOADED]';
-?> \ No newline at end of file
diff --git a/readme.md b/readme.md
index d91b764..1029f86 100644
--- a/readme.md
+++ b/readme.md
@@ -2,4 +2,4 @@
> BigPipe is a fundamental redesign of the dynamic web page serving system. The general idea is to decompose web pages into small chunks called pagelets, and pipeline them through several execution stages inside web servers and browsers. This is similar to the pipelining performed by most modern microprocessors: multiple instructions are pipelined through different execution units of the processor to achieve the best performance. Although BigPipe is a fundamental redesign of the existing web serving process, it does not require changing existing web browsers or servers; it is implemented entirely in PHP and JavaScript.
**More information from *Changhao Jiang* at Facebook Engineering:**
-<https://engineering.fb.com/2010/06/04/web/bigpipe-pipelining-web-pages-for-high-performance/> \ No newline at end of file
+<https://engineering.fb.com/2010/06/04/web/bigpipe-pipelining-web-pages-for-high-performance/>
diff --git a/static/bigpipe.js b/static/bigpipe.js
index cc048a5..1bda6d5 100644
--- a/static/bigpipe.js
+++ b/static/bigpipe.js
@@ -372,4 +372,4 @@ BigPipe = (function() {
BigPipe.done = [];
}
};
-})(); \ No newline at end of file
+})();
diff --git a/static/blue.php b/static/blue.php
index c5e7de8..6b1f4ce 100644
--- a/static/blue.php
+++ b/static/blue.php
@@ -14,4 +14,4 @@ header('Content-Type: text/css');
#===============================================================================
usleep(intval(rand(60, 100).'0000'));
?>
-#blue{background:blue;} \ No newline at end of file
+#blue{background:blue;}
diff --git a/static/green.php b/static/green.php
index 3a9959d..2c70074 100644
--- a/static/green.php
+++ b/static/green.php
@@ -14,4 +14,4 @@ header('Content-Type: text/css');
#===============================================================================
usleep(intval(rand(60, 100).'0000'));
?>
-#green{background:green;} \ No newline at end of file
+#green{background:green;}
diff --git a/static/red.php b/static/red.php
index 7eda0da..0795c3e 100644
--- a/static/red.php
+++ b/static/red.php
@@ -14,4 +14,4 @@ header('Content-Type: text/css');
#===============================================================================
usleep(intval(rand(60, 100).'0000'));
?>
-#red{background:red;} \ No newline at end of file
+#red{background:red;}