修复 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) {
|
module.exports = function (runtime, scope) {
|
||||||
var rtConsole = __runtime__.console;
|
var rtConsole = runtime.console;
|
||||||
var console = {};
|
var console = {};
|
||||||
|
|
||||||
console.assert = function (value, message) {
|
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() {
|
private void ensureListenersNotAtLimit() {
|
||||||
if (mMaxListeners != 0 && mListenersMap.size() >= mMaxListeners) {
|
if (mMaxListeners != 0 && mListenerWrappers.size() >= mMaxListeners) {
|
||||||
throw new ScriptException(new TooManyListenersException("max = " + 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,
|
"appVersionCode": 452,
|
||||||
"appVersionName": "4.1.0 Alpha",
|
"appVersionName": "4.1.0 Alpha2",
|
||||||
"target": 28,
|
"target": 28,
|
||||||
"mini": 17,
|
"mini": 17,
|
||||||
"compile": 28,
|
"compile": 28,
|
||||||
|
|||||||
Reference in New Issue
Block a user