大约有 91 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0041 秒)
...是否包含Laya变量 var isLayaGame = true; try { var layaGame = Laya; } catch (e) { isLayaGame = false; } if (isLayaGame) { // laya 暂停状态 window.layaStatePause = false; // laya 需要单步次数 window.layaStepCount = 0; let rawRequestAnimationFrame = window.requestAnimationFrame; let ren...
来源: Laya_社区 发布时间: 20200925
...ources\app\node_modules\rollup\dist\rollup.js:13566:33) at Promise.resolve.catch.then.then.then (D:\LayaAirIDE\resources\app\node_modules\rollup\dist\rollup.js:16352:20) at <anonymous> 编译异常,请检查代码后重试... 以上是layaMaxUI.js export ui bug 在layaMaxUI.js中 由 if(!win...
来源: Laya_社区 发布时间: 20190813
...'/bin/js/bundle.js', format: 'iife', name: 'laya', sourcemap: false }); }).catch(err=>{ console.log(err); }) });五、完成以上步骤配置,即可脱离layaIDE而使用vscode编译项目了^_^ D:\workspace\layabox\node-v7.9.0-win-x64\node.exe --inspect-brk=48982 ..\LayaAirIDE_beta\resources\...
来源: Laya_社区 发布时间: 20200607
...事件 this.btn_register.on(Laya.Event.CLICK, this, this._onRegister); } catch(e) { console.log(e); } } /** * 点击注册 */ private async _onRegister() { // console.table(this._arrCheck); } /** * 检查注册自信是否正确 */ private _checkRegInfo(): boolean { // TODO 还没有写检查!!!!! i...
来源: Laya_社区 发布时间: 20200410
...t msg: string = isAlertMsgInfo; re = true; } catch (e) { console.error("Current equipment support Copy!"); } return re; } 2018-12-14 0 2 分享 微博 QZONE 微信 熊猫大侠 赞同来自: inputDiv = Browser.document.cre...
来源: Laya_社区 发布时间: 20181214
...'/bin/js/bundle.js', format: 'iife', name: 'laya', sourcemap: false }); }).catch(err=>{ console.log(err); }) });打开.vscode/launch.json可知道使用的是Debugger for Chrome插件来调试 { "version": "0.2.0", "configurations": [ { "name": "chrome调试", "type": "chrome", "request": "launch...
来源: Laya_社区 发布时间: 20200918
...esult2>) | undefined | null): Promise<TResult1 | TResult2>; catch<TResult>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): Promise<T | TResult>; } interface PromiseConstructor { readonly prototype: Promise<any>; ...
来源: Laya_社区 发布时间: 20180604
...-1) continue; if(arr2[i].indexOf("//") !=-1) continue; if(arr2[i].indexOf("catch(") !=-1) continue; if(arr2[i].indexOf(",") !=-1 && arr2[i].indexOf("(") ==-1) continue;//object里面的key value if(arr2[i].indexOf("public ") !=-1 && arr2[i].indexOf("{") ==-1) continue;//属性 if(arr...
来源: Laya_社区 发布时间: 20190613
...d", message.getSenderID()); objCallBack.put("AudioTime", audioDuration); } catch (JSONException e) { e.printStackTrace(); } //这句就是执行LAYABOX里的我们写的JS方法(ExportJavaFunction.CallBackToJS这玩意在这好像没法用了,没有对像给他指定了,暂时没想到其他...
来源: Laya_社区 发布时间: 20170722
...aair2-cmd\no de_modules\core-js > node -e "try{require('./postinstall')}catch(e){}" Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript stand ard library! The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: &...
来源: Laya_社区 发布时间: 20200211