diff options
author | Thomas Lange <code@nerdmind.de> | 2018-02-03 19:51:05 +0100 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2018-02-03 19:51:05 +0100 |
commit | 7601f94af929f909c29da522d9a4b37cecad0a7c (patch) | |
tree | a3b5c9a488c667a0888084f4db7516fd524350a7 /async.php | |
parent | 5e1b775028e17cd5ffb0272ff389f5b5758f898b (diff) | |
download | bigpipe-7601f94af929f909c29da522d9a4b37cecad0a7c.tar.gz bigpipe-7601f94af929f909c29da522d9a4b37cecad0a7c.tar.xz bigpipe-7601f94af929f909c29da522d9a4b37cecad0a7c.zip |
Remove the function "removeLineBreaksAndTabs" completely
Diffstat (limited to 'async.php')
-rw-r--r-- | async.php | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -20,8 +20,6 @@ spl_autoload_register(function($classname) { require_once sprintf($classpath, $classname); }); -require_once 'include/functions.php'; - #=============================================================================== # Check if BigPipe should be disabled #=============================================================================== @@ -111,7 +109,7 @@ require_once 'include/pagelets.php'; <?php endif; if(isAsyncRequest()) { - $BUFFER = removeLineBreaksAndTabs(ob_get_clean()); + $BUFFER = ob_get_clean(); echo '<script>["Application","BigPipe"].forEach(function(name){window[name] = parent[name];});</script>'."\n"; echo '<script>Application.placeholderHTML('.json_encode($BUFFER).');</script>'."\n\n"; } |