Thanks to visit codestin.com
Credit goes to github.com

Skip to content

various updates #232

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 28 commits into from
Dec 24, 2024
Merged

various updates #232

merged 28 commits into from
Dec 24, 2024

Conversation

BobHanson
Copy link
Collaborator

No description provided.

overstepped on trying to optimize SearchAndExecuteMethod.
new interface for JSUtilI.java:

void getMediaInfoAsync(byte[] videoData, String trackType, String path,
Consumer<Map<String, Object>> success, Consumer<String> onError)


loads mediainfo.js and MediaInfoModule.wasm from https://unpkg.com Note
that the two files can more efficiently be included in a project, as has
been done with TrackerJS, where very minor tweaks of the JavaScript
allow local file reading from core/_ES6/

-- remove unnecessary script source message at end of mediainfojs

-- remove n.locateFile call using 0&n.locateFile

-- also, wasm can be in data:application/octet-stream;base64, format if
pulled from a byte[] resource.
stub needs to throw the correct exception
//BH 2024.07.14 -- 5.0.1-v4 fixes numerical array initializer using
characters ['a','b',...], but not new int[] { "test".charAt(3) }
?j2sdebugcore == ?j2snozcore
?j2sdebugcode == ?j2snocore
var f = null;
eval(funStr) // creates f()
return f;

Google compresser turns this into "return null"

effect was to make String.replaceAll() fail.
@BobHanson BobHanson merged commit 7104256 into java2script:master Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant