大约有 5 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0017 秒)
... 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
matter.js引入文件在哪里?在工程没有找到 var Common = require('../core/Common'); var Composite = require('../body/Composite'); var Bounds = require('../geometry/Bounds'); var Events = require('../core/Events'); var Grid = require('../collision/Grid'); var Vector = require('../geometry...
来源: Laya_社区 发布时间: 20170808
...码提示是有的,但是编译运行后就报错了,ReferenceError: require is not defined 是我引入的方式不对吗? 论坛里也没有搜到相关的,请大神给个typescript的使用例子 附件 : --> 2017-12-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20171205
... QZONE 微信 MARS 赞同来自: 这不是等于嵌入了脚本,和js的require的外部载入是不一样的吧 2017-11-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 MARS 相关问题 两个对象new了一个相同的对象,调...
来源: Laya_社区 发布时间: 20171113
加载模块报错 想要引入外部的库:import Collections = require('typescript-collections');配置如下:{ "compilerOptions": { "module": "commonjs", "target": "es5", "sourceMap": true, "moduleResolution": "node", "lib": [ "dom", "es5" ] }, "exclude": [ // "node_modules" ] }报错 Refere...
来源: Laya_社区 发布时间: 20180107