strato ready now (no glob_brace)
This commit is contained in:
@@ -34,8 +34,10 @@
|
||||
|
||||
<?php
|
||||
$dir ="pics";
|
||||
$images = glob("$dir/*.{jpg,png,bmp}", GLOB_BRACE);
|
||||
$images = glob("$dir/*");
|
||||
|
||||
$js_images = json_encode($images);
|
||||
|
||||
echo "let imagePaths = ". $js_images . ";\n";
|
||||
?>
|
||||
|
||||
@@ -141,7 +143,7 @@
|
||||
}
|
||||
|
||||
function mouseClicked(){
|
||||
pause = !pause;
|
||||
if(!loading) pause = !pause;
|
||||
}
|
||||
|
||||
var shuffle = function (array) {
|
||||
|
||||
Reference in New Issue
Block a user