0
0

🎨 move "use strict"; to top of include

This commit is contained in:
DrMaxNix 2022-09-28 20:02:36 +02:00
parent 195af72d01
commit ad46b667ae
5 changed files with 1 additions and 4 deletions

View File

@ -55,6 +55,7 @@
</style> </style>
<script type="text/javascript"><?php <script type="text/javascript"><?php
"use strict";
foreach(scandir("../src/helper") as $one_file){ foreach(scandir("../src/helper") as $one_file){
if(is_file("../src/helper/" . $one_file)){ if(is_file("../src/helper/" . $one_file)){
require("../src/helper/" . $one_file); require("../src/helper/" . $one_file);

View File

@ -1,4 +1,3 @@
"use strict";
class Juicescript_helper_enum { class Juicescript_helper_enum {
constructor(...keys){ constructor(...keys){
keys.forEach((key, i) => { keys.forEach((key, i) => {

View File

@ -1,4 +1,3 @@
"use strict";
class Juicescript_io { class Juicescript_io {
/* /*
CONSTRUCTOR: Return new juicescript io adapter with CALLBACKs CONSTRUCTOR: Return new juicescript io adapter with CALLBACKs

View File

@ -1,4 +1,3 @@
"use strict";
class Juicescript_lexer { class Juicescript_lexer {
/* /*
CONSTRUCTOR: Return new juicescript lexer for SOURCE with OPTIONS CONSTRUCTOR: Return new juicescript lexer for SOURCE with OPTIONS

View File

@ -1,4 +1,3 @@
"use strict";
class Juicescript { class Juicescript {
// TOKEN TYPES // // TOKEN TYPES //
static token_type = new Juicescript_helper_enum( static token_type = new Juicescript_helper_enum(