diff options
author | Thomas Lange <code@nerdmind.de> | 2018-01-20 18:49:05 +0100 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2018-01-20 18:49:05 +0100 |
commit | 1a896a9bc176e1af35ee47ebe37cb59d613d2a4f (patch) | |
tree | ec2992660f338f180c687159d05fee0d92319acf /static/delayJS.php | |
parent | 7c02cc7dee9d3b0440c4ccabc18762e8b87d1e24 (diff) | |
download | bigpipe-1a896a9bc176e1af35ee47ebe37cb59d613d2a4f.tar.gz bigpipe-1a896a9bc176e1af35ee47ebe37cb59d613d2a4f.tar.xz bigpipe-1a896a9bc176e1af35ee47ebe37cb59d613d2a4f.zip |
Fix inconsistent line separators across files
The development of this project began several years ago on a Windows system until I switched to GNU\Linux. Therefore, some files contained CRLF as line separators, now replaced with LF.
Diffstat (limited to 'static/delayJS.php')
-rw-r--r-- | static/delayJS.php | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/static/delayJS.php b/static/delayJS.php index b4af48d..51252b0 100644 --- a/static/delayJS.php +++ b/static/delayJS.php @@ -1,18 +1,18 @@ -<?php
-#===============================================================================
-# Disable cache
-#===============================================================================
-header('Cache-Control: no-cache, no-store, must-revalidate');
-
-#===============================================================================
-# Set Content-Type
-#===============================================================================
-header('Content-Type: text/javascript');
-
-#===============================================================================
-# Simulate long loading time
-#===============================================================================
-usleep(intval(rand(10, 40).'0000'));
-?>
-
-console.log("EXTERNAL: Delayed javascript resource loaded");
+<?php +#=============================================================================== +# Disable cache +#=============================================================================== +header('Cache-Control: no-cache, no-store, must-revalidate'); + +#=============================================================================== +# Set Content-Type +#=============================================================================== +header('Content-Type: text/javascript'); + +#=============================================================================== +# Simulate long loading time +#=============================================================================== +usleep(intval(rand(10, 40).'0000')); +?> + +console.log("EXTERNAL: Delayed javascript resource loaded"); |