大约有 112 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0033 秒)
...ow.Parser,按照我能搜到的代码,你们的建议是 window.Parser=require('./domparser.js'); 但是, 我下载的laya库文件中只有 domparserinone.js如果 window.Parser=require('./domparserinone.js')会导致报错WAGame.js:3 gameThirdScriptErrorSaxO is not definedReferenceError: Sa...
来源: Laya_社区 发布时间: 20180516
...: 2017年12月8日 上午9:53 发件人 Apple2. 5 Performance: Software Requirements 4. Design: Preamble Guideline 2.5.2 - Performance - Software Requirements Your app, extension, or linked framework appears to contain code designed explicitly with the capability to change your app’s behavior or...
来源: Laya_社区 发布时间: 20171221
...出现问题 (unknown) ReferenceError: ui is not defined at code.js:1 at require (WAGame.js:11) at WAGame.js:11 at game.js? [sm]:2 at require (WAGame.js:11) at gamePage.html:111 window.onerror WAGame.js:11 Uncaught ReferenceError: ui is not defined at code.js:1 at require (WAGame.js:11) at WAGame.js...
来源: Laya_社区 发布时间: 20180115
...Error: Laya is not defined 解决方法:在game.js 的第一行即require的最开始的位置,再添加一个require("libs/laya.core.js"); 如果bin的里面没有game.js 就加入到发布后的微信包的game.js里面 附件 : --> 2020-05-04 添加评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20200504
... at code.js:11708 at code.js:11720 at code.js:18226 at require (WAGame.js:11) at WAGame.js:11 at game.js? [sm]:4 at require (WAGame.js:11) at gamePage.html:135 window.onerror -------------------------- 堆栈代码片段: 附件 : --> 2018-01...
来源: Laya_社区 发布时间: 20180131
... a function OPPO分包发布时遇到一个问题,当在index.js中最后require("./libs/laya.d3.js");时会报错Shader3D.propertyNameToID is not a function。将require该库的语句提前,则不会报错。但是后导入的类的静态方法会报同样的错误。例如:Laya.QGMiniAdapte...
来源: Laya_社区 发布时间: 20201221
... 分享 微博 QZONE 微信 ITJacob 赞同来自: 在game.js文件中加上require("libs.js");即可,好像说微信小游戏自带了laya包,不过本地调试的时候加上这条就好了,把libs 里的require("./libs/laya.core.js");加上,本地环境里就有laya了。 2020-08-30 0 0 ...
来源: Laya_社区 发布时间: 20200213
...ught ReferenceError: Laya is not defined at code.js? [sm]:1 at require (VM32 WAGame.js:1) at VM32 WAGame.js:1 at VM42 game.js:4 at require (VM32 WAGame.js:1) at <anonymous>:1:1 at HTMLScriptElement.scriptLoaded (<anonymous>:18:21) at HTMLSc...
来源: Laya_社区 发布时间: 20191116
...onymous) @ code.js:7056 GameEx @ code.js:56322 (anonymous) @ code.js:56681 require @ WAGame.js:3 (anonymous) @ WAGame.js:3 (anonymous) @ game.js? [sm]:2 require @ WAGame.js:3 (anonymous) @ gamePage.html:148 VM163:1 gameThirdScriptError window.focus is not a function TypeError: window.focus is not a ...
来源: Laya_社区 发布时间: 20180426
...aya_Aaron: 好吧。谢谢。 冰水blue • 2018-06-13 11:54 let matter = require("./libs/matter.js"); window.Matter = matter; require("./code.js"); 确实可以了,麻烦看下,下面这个系统问题是什么原因,谢谢您!
来源: Laya_社区 发布时间: 20180613