大约有 232 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0060 秒)
... /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */ /* Experimental Options */ // "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */ // "emitDecoratorMe...
来源: Laya_社区 发布时间: 20190408
...意义的代码 */ const LINENUM = 20; const LINENUM_RADOM = 13; var fs = require('fs'); var path = require('path'); var filterFils = ["Base64", "ThemeAdapter","AssetAdapter", "Platform", "wxgamesdk"];//忽略文件 var filterDirs = ["xxxx"];//忽略目录 var traceName = "xxxx";//添加的干扰代...
来源: Laya_社区 发布时间: 20190613
...s脚本文件,脚本内容参照如下: ```json const {watch ,task } = require("gulp"); const {exec} = require("child_process"); function compile(cb) { //执行编译命令 layaair2-cmd compile let process = exec("layaair2-cmd compile"); process.stdout.on("data",(data)=>{ console.log(data); }); ...
来源: Laya2.0_文档 发布时间: 20210715
...lzz.platform/cache/LayaCache/localstorage/logo/logo.png I/LayaBox (12689): require(/sdcard/layabox/scripts/config.js) I/LayaBox (12689): found the file in the package:scripts/config.js I/LayaBox (12689): Download [ ]:http://192.168.137.1/public/sh ... 2.471 E/LayaBox (12689): download image file err...
来源: Laya_社区 发布时间: 20170320
...3所示。 game.js里引入分包js路径,如下所示。 ```javascript require('b.js'); ``` #### 4、开始分包编码 上一步创建完分包目录与分包文件,那么可以开始进行分包编码了。 首先在原则上,既然要做分包,那么**主包与分包的逻辑关联性要...
来源: Laya2.0_文档 发布时间: 20210715
...就好了。game.js里引入分包js路径,如下所示。 ```javascript require('b.js'); ``` #### 4、开始分包编码 上一步创建完分包目录与分包文件,那么可以开始进行分包编码了。 首先在原则上,既然要做分包,那么**主包与分包的逻辑关联性...
来源: Laya2.0_文档 发布时间: 20210715
...len:643667 10-13 17:31:15.901 6514-7441/com.vivo.vs W/AudioManagerAndroid: Requires BLUETOOTH permission 10-13 17:31:15.951 6514-7452/com.vivo.vs W/chromium: [WARNING:proxy_service.cc(901)] PAC support disabled because there is no system implementation 10-13 17:31:15.961 6514-6514/com.vivo.vs W/chro...
来源: Laya_社区 发布时间: 20181013
...cess, singleProcess=true 04-11 11:17:09.332 8591-8637/? W/cr_media﹕ Requires BLUETOOTH permission 04-11 11:17:09.430 8591-8591/? W/cr_AwContents﹕ onDetachedFromWindow called when already detached. Ignoring 04-11 11:17:09.442 8591-8591/? I/layaConch5﹕ m_interceptKey OK! 04-11 11:...
来源: Laya_社区 发布时间: 20170411
....26:6666/head.json"; var dccUrl = null; var mapToDCC = null; let layadcc = require('layadcc.js').layadcc; let dcc = new layadcc.LayaDCCClient(dccUrl || getBaseUrl(dccHead)); dcc.pathMapToDCC = mapToDCC || getBaseUrl(appUrl); dcc.init(dccHead, null).then((ok) => { if (ok) { //如果初始化成功...
来源: Laya3.0_文档 发布时间: 20251010
...r proto:any = protos[name]; switch (proto.option) { case "optional": case "required": buffer.writeArrayBuffer(this.encodeTag(proto.type, proto.tag)); this.encodeProp(msg[name], proto.type, protos, buffer); break; case "repeated": if (!!msg[name] && msg[name].length > 0) { this.encodeArray...
来源: Laya_社区 发布时间: 20180119