🎨 move "use strict";
to top of include
This commit is contained in:
parent
195af72d01
commit
aad9c5bdbb
@ -54,28 +54,31 @@
|
||||
span.line.stderr-error { color: var(--onedark-red); }
|
||||
</style>
|
||||
|
||||
<script type="text/javascript"><?php
|
||||
foreach(scandir("../src/helper") as $one_file){
|
||||
if(is_file("../src/helper/" . $one_file)){
|
||||
require("../src/helper/" . $one_file);
|
||||
echo("\n");
|
||||
<script type="text/javascript">
|
||||
"use strict";
|
||||
<?php
|
||||
foreach(scandir("../src/helper") as $one_file){
|
||||
if(is_file("../src/helper/" . $one_file)){
|
||||
require("../src/helper/" . $one_file);
|
||||
echo("\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
foreach(scandir("../src") as $one_file){
|
||||
if(is_file("../src/" . $one_file)){
|
||||
require("../src/" . $one_file);
|
||||
echo("\n");
|
||||
|
||||
foreach(scandir("../src") as $one_file){
|
||||
if(is_file("../src/" . $one_file)){
|
||||
require("../src/" . $one_file);
|
||||
echo("\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
foreach(scandir("../src/command") as $one_file){
|
||||
if(is_file("../src/command/" . $one_file)){
|
||||
require("../src/command/" . $one_file);
|
||||
echo("\n");
|
||||
|
||||
foreach(scandir("../src/command") as $one_file){
|
||||
if(is_file("../src/command/" . $one_file)){
|
||||
require("../src/command/" . $one_file);
|
||||
echo("\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
?></script>
|
||||
?>
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
let juice_program = <?php echo(json_encode(file_get_contents("juice-program.jce"))); ?>;
|
||||
|
@ -1,4 +1,3 @@
|
||||
"use strict";
|
||||
class Juicescript_helper_enum {
|
||||
constructor(...keys){
|
||||
keys.forEach((key, i) => {
|
||||
|
@ -1,4 +1,3 @@
|
||||
"use strict";
|
||||
class Juicescript_io {
|
||||
/*
|
||||
CONSTRUCTOR: Return new juicescript io adapter with CALLBACKs
|
||||
|
@ -1,4 +1,3 @@
|
||||
"use strict";
|
||||
class Juicescript_lexer {
|
||||
/*
|
||||
CONSTRUCTOR: Return new juicescript lexer for SOURCE with OPTIONS
|
||||
|
@ -1,4 +1,3 @@
|
||||
"use strict";
|
||||
class Juicescript {
|
||||
// TOKEN TYPES //
|
||||
static token_type = new Juicescript_helper_enum(
|
||||
|
Reference in New Issue
Block a user