修复 events.defaultMaxListeners的问题
清理代码 更换 promise的实现
This commit is contained in:
BIN
.idea/caches/build_file_checksums.ser
generated
BIN
.idea/caches/build_file_checksums.ser
generated
Binary file not shown.
@@ -1,6 +1,6 @@
|
||||
|
||||
module.exports = function (__runtime__, scope) {
|
||||
var rtConsole = __runtime__.console;
|
||||
module.exports = function (runtime, scope) {
|
||||
var rtConsole = runtime.console;
|
||||
var console = {};
|
||||
|
||||
console.assert = function (value, message) {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -40,7 +40,7 @@ public class EventEmitter {
|
||||
}
|
||||
|
||||
private void ensureListenersNotAtLimit() {
|
||||
if (mMaxListeners != 0 && mListenersMap.size() >= mMaxListeners) {
|
||||
if (mMaxListeners != 0 && mListenerWrappers.size() >= mMaxListeners) {
|
||||
throw new ScriptException(new TooManyListenersException("max = " + mMaxListeners));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":451,"versionName":"4.1.0 Alpha","enabled":true,"outputFile":"commonRelease-4.1.0 Alpha.apk","fullName":"commonRelease","baseName":"common-release"},"path":"commonRelease-4.1.0 Alpha.apk","properties":{}}]
|
||||
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":452,"versionName":"4.1.0 Alpha2","enabled":true,"outputFile":"commonRelease-4.1.0 Alpha2.apk","fullName":"commonRelease","baseName":"common-release"},"path":"commonRelease-4.1.0 Alpha2.apk","properties":{}}]
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"appVersionCode": 451,
|
||||
"appVersionName": "4.1.0 Alpha",
|
||||
"appVersionCode": 452,
|
||||
"appVersionName": "4.1.0 Alpha2",
|
||||
"target": 28,
|
||||
"mini": 17,
|
||||
"compile": 28,
|
||||
|
||||
Reference in New Issue
Block a user