diff options
author | Thomas Lange <code@nerdmind.de> | 2021-10-24 14:49:29 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-10-24 14:58:43 +0200 |
commit | 6a45789731c75db0c782ae2d0bdc478aa7ccb6ad (patch) | |
tree | f3cb7f5ab641cf2893849e4311f06787ae523457 | |
parent | 4163aa7195645c2b642ec1172f4658b5606da4ac (diff) | |
download | bigpipe-6a45789731c75db0c782ae2d0bdc478aa7ccb6ad.tar.gz bigpipe-6a45789731c75db0c782ae2d0bdc478aa7ccb6ad.tar.xz bigpipe-6a45789731c75db0c782ae2d0bdc478aa7ccb6ad.zip |
Remove closing tags and ensure LF at end of files
Remove the unnecessary PHP closing tags and ensure that
*all* non-binary files ending with an LF character.
-rw-r--r-- | async.php | 2 | ||||
-rw-r--r-- | include/classes/Application.php | 1 | ||||
-rw-r--r-- | include/classes/BigPipe/BigPipe.php | 1 | ||||
-rw-r--r-- | include/classes/BigPipe/Item.php | 1 | ||||
-rw-r--r-- | include/classes/BigPipe/Pagelet.php | 1 | ||||
-rw-r--r-- | include/classes/BigPipe/Resource.php | 1 | ||||
-rw-r--r-- | include/classes/BigPipe/Resource/Javascript.php | 1 | ||||
-rw-r--r-- | include/classes/BigPipe/Resource/Stylesheet.php | 1 | ||||
-rw-r--r-- | include/classes/Debugging/Pagelet.php | 1 | ||||
-rw-r--r-- | include/classes/Debugging/Resource/Javascript.php | 1 | ||||
-rw-r--r-- | include/classes/Debugging/Resource/Stylesheet.php | 1 | ||||
-rw-r--r-- | include/pagelets.php | 1 | ||||
-rw-r--r-- | index.php | 2 | ||||
-rw-r--r-- | license.md | 2 | ||||
-rw-r--r-- | output-flushing-test.php | 1 | ||||
-rw-r--r-- | readme.md | 2 | ||||
-rw-r--r-- | static/bigpipe.js | 2 | ||||
-rw-r--r-- | static/blue.php | 2 | ||||
-rw-r--r-- | static/green.php | 2 | ||||
-rw-r--r-- | static/red.php | 2 |
20 files changed, 8 insertions, 20 deletions
@@ -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 @@ -35,4 +35,4 @@ echo $PageletGreen; BigPipe\BigPipe::completeResponse(); ?> </body> -</html>
\ No newline at end of file +</html> @@ -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 @@ -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;} |