Skip to content
This repository has been archived by the owner on Mar 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #5 from T190-boy/main
Browse files Browse the repository at this point in the history
Update jvm-npm.js
  • Loading branch information
MiaowFISH authored Oct 30, 2022
2 parents 67e6609 + 36fc5be commit 2d75a88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 4 additions & 5 deletions jvm-npm.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@

//module = (typeof module === 'undefined') ? {} : module;

globalThis.java = Packages.java
globalThis.NativeRequire = {}
globalThis.require = {}
var module = {}
// globalThis.exports = {};
let java = Packages.java
let NativeRequire = {}
let require = {}
let module = {}

var System = java.lang.System
var Scanner = java.util.Scanner
Expand Down
2 changes: 0 additions & 2 deletions src/draw.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ function getImage(path, isURl) {
return outt.toByteArray()
}

//下面放群消息的处理入口

if (message.msg === 't2') {
let client = message.client
let img = getImage(
Expand Down

0 comments on commit 2d75a88

Please sign in to comment.