mirror of
https://github.com/quinton-ashley/java2js
synced 2024-12-29 10:11:54 +01:00
1.1.5
This commit is contained in:
parent
213f552d52
commit
ebdb252001
5
jdk.js
5
jdk.js
@ -19415,7 +19415,10 @@
|
||||
? initVars.join('') + (block ? opts.separator : '')
|
||||
: '';
|
||||
let method = `${name}(${parameters}){${preblock}${block}}`;
|
||||
if (typeof QuintOS != 'undefined' && /(alert|prompt|erase|eraseRect|text|textRect|frame)/gm.test(block))
|
||||
if (
|
||||
typeof QuintOS != 'undefined' &&
|
||||
/(alert|prompt|delay|erase|eraseRect|text|textRect|frame)/gm.test(block)
|
||||
)
|
||||
method = 'async ' + method;
|
||||
classProps.push(method);
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "java2js",
|
||||
"version": "1.1.4",
|
||||
"version": "1.1.5",
|
||||
"description": "Converts Java to JavaScript with support for p5.js and QuintOS.",
|
||||
"main": "jdk.js",
|
||||
"scripts": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user