大约有 118 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0040 秒)
...位置等元信息数据文件 在 publish.js 中添加 const sourcemaps = require(ideModuleDir + 'gulp-sourcemaps'); compressJs任务中添加.pipe(sourcemaps.init({loadMaps:true})) 和 .pipe(sourcemaps.write(releaseDir + '/../sourcemaps')) 会生成对应js文件的.js.map 3、npm install source-m...
来源: Laya_社区 发布时间: 20190528
... 'new' at new Widget (laya.ui.js:139) at laya.ui.js:285 at laya.ui.js:1 at require (VM282 WAGame.js:1) at VM282 WAGame.js:1 at index.js? [sm]:17 at require (VM282 WAGame.js:1) at VM282 WAGame.js:1 at game.js? [sm]:9 at require (VM282 WAGame.js:1) 不勾选的话,部分不支持es6的机型会因...
来源: Laya_社区 发布时间: 20190812
...w.LayaSimple.window.LayaSimple @ code.js:54041 (anonymous) @ code.js:54050 require @ WAGame.js:1 (anonymous) @ WAGame.js:1 (anonymous) @ game.js? [sm]:2 require @ WAGame.js:1 (anonymous) @ gamePage.html:175 请问这个问题怎么解决? 2018-11-03 添加评论 免费帖 --> 分享 微博 QZON...
来源: Laya_社区 发布时间: 20181103
... is not defined at http://127.0.0.1:19768/game/code.js:60:1 at require (http://127.0.0.1:19768/game/__ ... :78871) at http://127.0.0.1:19768/game/__ ... 78480 at http://127.0.0.1:19768/game/game.js:4:1 at require (http://127.0.0.1:19768/game/__ ... :78871) at <...
来源: Laya_社区 发布时间: 20190312
...307/game/code.js:8363:181 at http://127.0.0.1:62307/game/code.js:8364:2 at require (http://127.0.0.1:62307/game/__ ... :13675) at http://127.0.0.1:62307/game/__ ... 13424 at http://127.0.0.1:62307/game/game.js:4:1 at require (http://127.0.0.1:62307/game/__ ... :13675) at http://127.0.0.1:62307/game/...
来源: Laya_社区 发布时间: 20180516
加载模块报错 想要引入外部的库:import Collections = require('typescript-collections');配置如下:{ "compilerOptions": { "module": "commonjs", "target": "es5", "sourceMap": true, "moduleResolution": "node", "lib": [ "dom", "es5" ] }, "exclude": [ // "node_modules" ] }报错 Refere...
来源: Laya_社区 发布时间: 20180107
...发布关于code.js 小游戏发布之后如果想在code.js的全局有(require("weapp-adapter.js"),那么__JS__("require('weapp-adapter.js')")语句应该添加到哪里去?添加到main里和index.html里面是不行的 2018-05-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20180523
...s not defined Error: module "libs/laya.wxmini.js" is not defined at require (http://127.0.0.1:43425/game/__ ... :13569) at http://127.0.0.1:43425/game/__ ... 13424 at http://127.0.0.1:43425/game/game.js:6:2 at require (http://127.0.0.1:43425/game/__ ... :13675) at ...
来源: Laya_社区 发布时间: 20180702
...一圈资料,发现这个问题并不是偶然,用了window.Parser = require("./js/dom_parser");],问题依旧。很多人都遇到同一个严重的问题,希望能重视起来,给大家一个完整清晰的解决方法! gameThirdScriptError t.getElementsByTagName is not a function Type...
来源: Laya_社区 发布时间: 20180530
...ing: ld: warning: ignoring file ../LayaRuntime-iOS/libs/libjpeg.a, missing required architecture x86_64 in file ../LayaRuntime-iOS/libs/libjpeg.a (2 slices)ignoring file ../LayaRuntime-iOS/libs/libconch.a, missing required architecture x86_64 in file ../LayaRuntime-iOS/libs/libconch.a (2 slices)igno...
来源: Laya_社区 发布时间: 20161229