aboutsummaryrefslogtreecommitdiffstats
path: root/async.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2016-05-13 21:53:59 +0200
committerThomas Lange <code@nerdmind.de>2016-05-13 21:53:59 +0200
commit45ad8dcedc52b2035963c1f7e2b7d7bd580be7d9 (patch)
treea34a231bffa6a9b3479ffdbe35fcea273245e6e5 /async.php
parent443db4600eed8fa8cb23585d698345ac65fec86e (diff)
downloadbigpipe-45ad8dcedc52b2035963c1f7e2b7d7bd580be7d9.tar.gz
bigpipe-45ad8dcedc52b2035963c1f7e2b7d7bd580be7d9.tar.xz
bigpipe-45ad8dcedc52b2035963c1f7e2b7d7bd580be7d9.zip
Multiple updates
Diffstat (limited to 'async.php')
-rwxr-xr-xasync.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/async.php b/async.php
index 3431705..9093c87 100755
--- a/async.php
+++ b/async.php
@@ -37,7 +37,7 @@ if(isset($_GET['bigpipe']) AND (int) $_GET['bigpipe'] === 0) {
$PageletRed = new BigPipe\DemoPagelet();
$PageletRed->addHTML('<section id="red" class="text">['.time().'] I AM A PAGELET WITH RED BACKGROUND</section>');
$PageletRed->addCSS('static/red.php');
-$PageletRed->addJS('static/delayJS.php?red');
+$PageletRed->addJS('static/delayJS.php');
$PageletRed->addJSCode("document.getElementById('red').innerHTML += ' [JS executed]';document.getElementById('red').style.borderRadius = '30px';");
#===============================================================================
@@ -46,7 +46,7 @@ $PageletRed->addJSCode("document.getElementById('red').innerHTML += ' [JS execut
$PageletBlue = new BigPipe\DemoPagelet('customPageletID', BigPipe\Pagelet::PRIORITY_HIGH);
$PageletBlue->addHTML('<section id="blue" class="text">['.time().'] I AM A PAGELET WITH BLUE BACKGROUND</section>');
$PageletBlue->addCSS('static/blue.php');
-$PageletBlue->addJS('static/delayJS.php?blue');
+$PageletBlue->addJS('static/delayJS.php');
$PageletBlue->addJSCode("document.getElementById('blue').innerHTML += ' [JS executed]';document.getElementById('blue').style.borderRadius = '30px';");
#===============================================================================
@@ -55,7 +55,7 @@ $PageletBlue->addJSCode("document.getElementById('blue').innerHTML += ' [JS exec
$PageletGreen = new BigPipe\DemoPagelet();
$PageletGreen->addHTML('<section id="green" class="text">['.time().'] I AM A PAGELET WITH GREEN BACKGROUND</section>');
$PageletGreen->addCSS('static/green.php');
-$PageletGreen->addJS('static/delayJS.php?green');
+$PageletGreen->addJS('static/delayJS.php');
$PageletGreen->addJSCode("document.getElementById('green').innerHTML += ' [JS executed]';document.getElementById('green').style.borderRadius = '30px';");
?>
<!DOCTYPE html>