腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
require.
js
没有加载我的模块
、
、
、
我正在使用require.
js
和一个库。不幸的是,当加载库时,结果返回为null。抱歉,在使用require.
js
时我可能是个菜鸟 (function(root, factory){
define
('postmonger', [], function(){ return
浏览 0
提问于2015-08-06
得票数 0
回答已采纳
3
回答
ReactJS错误未能编译“定义”
未定义
、
、
、
错误是: if (typeof
define
=== 'function' &&
define
.amd) {} 'jQuery‘<e
浏览 0
提问于2018-10-14
得票数 13
回答已采纳
1
回答
如何使用requireJs获取Backbone.Marionette.Application
、
、
为什么我从
js
/app1.
js
得到undefinedrequire([ '
js
/app1/app1',], "use stric
浏览 1
提问于2012-06-15
得票数 1
1
回答
正确使用
、
module.exports = factory() : (global.ramjet = factory());
未定义
浏览 3
提问于2016-08-18
得票数 0
1
回答
Require.
js
和Imager.
js
未定义
函数
、
、
、
我在将Imager.
js
库添加到require.
js
加载时遇到了问题,脚本在没有require.
js
的情况下工作非常完美
define
([ 1024: 'large_x2', });我得到了这个错误
未定义
的ReferenceError:
未定义</e
浏览 0
提问于2014-02-19
得票数 0
回答已采纳
2
回答
当require.
js
loading Three.
js
(revision=80)时,三是“
未定义
”
、
三是“
未定义
的OrbitControls.
js
:16 Uncaught :
未定义
的三”(…)。 typeof
define
=== 'function' &&
define
.amd ?
define
(['exports'], factory) : (factory((global.THREE = global.TH
浏览 6
提问于2016-10-31
得票数 0
回答已采纳
2
回答
未捕获TypeError时出现Get错误:无法调用
未定义
的方法'getProxy‘?
、
、
、
我有这样的代码:Uncaught TypeError: Cannot call method 'getProxy' of undefinedBase.callParentext-all-debug.
js
:2891 Ext.
define
.constructorext-all-debug.
j
浏览 1
提问于2012-02-19
得票数 1
1
回答
如何使用Intern对非AMD JavaScript文件进行单元测试?
/www/
js
/Snake.
js
this.pos = initPos;
define
([ 'intern/chai!assert', "../www/
js</em
浏览 0
提问于2015-02-15
得票数 2
2
回答
在源模式下加载qooxdoo应用程序时出现"qx.Class is undefined“
在源模式下加载qooxdoo应用程序时,我获得以下javascript错误链:qx.Class在此错误qx.Class.
define
("qx.lang.Type",Type.
js
(ligne 23) )上
未定义
分隔符 在此错误中,qx.lang
未定义
中断: errorToString);Class.
js
(ligne
浏览 3
提问于2010-03-03
得票数 1
2
回答
RequireJs -嵌套的需要
JS
文件
、
、
script.
js
->主脚本文件 Error - add()
未定义
。;
define
(["addition","multiplicat
浏览 1
提问于2016-05-13
得票数 0
1
回答
在用RequireJS加载时,如何才能“定义”而不是定义?
、
、
我很难理解为什么加载了RequireJS的模块不能访问
define
函数。在我的HTML中:
define
(['jquery
浏览 6
提问于2013-11-15
得票数 2
回答已采纳
1
回答
RequireJS奇异未定模
、
我遇到了模块设置中一个
未定义
变量的问题,最好通过示例来解释,我有:require([], function() { module/polyfills/someModule.
js
'underscore',但是,如果我在ref 2上放置了一
浏览 4
提问于2015-04-07
得票数 3
2
回答
RequireJS在使用其变量之前未加载模块
、
我从刚插入到requireJS的新库中得到了一个
未定义
的错误。我知道
未定义
的错误与'wNumb'模块在使用之前没有加载有关。如果我像这样在config.
js
中加载config.
js
模块:require(['main', 'wNumb']);,一切都正常。// conifg.
js
paths: {
浏览 3
提问于2016-08-08
得票数 0
回答已采纳
2
回答
Cordova未捕获TypeError:无法设置
未定义
的属性“”require“”
、
、
我尝试使用chrome进行远程调试,但它也将camera对象显示为
未定义
。Cordova.
js
加载失败,以下对象
未定义
//Export for use in node module.exports.require = r
浏览 5
提问于2015-03-19
得票数 2
2
回答
使用Require.
js
Backbone.
js
嵌套依赖项Backbone.
js
视图会导致视图作为对象而不是函数加载
、
、
、
、
我将Require.
js
与Backbone.
js
和Underscore.
js
一起使用,当作为依赖项调用时,我有一个
未定义
的嵌套视图,但当我将这两个视图放在同一个模块中时,它们工作得很好。下面是一个例子:
define
(['Underscore',], function ($, _, Backbone) {
浏览 2
提问于2012-06-29
得票数 2
回答已采纳
1
回答
无法设置
未定义
的属性'Swiper‘
、
、
、
swiper.
js
:16 Uncaught TypeError: Cannot set property 'Swiper' of undefined13 (functionmodule.exports = factory() :16 (global.Swiper =
浏览 3
提问于2017-10-24
得票数 0
回答已采纳
2
回答
用Ractive.
js
加载Require.
js
适配器
、
我为Ractive.
js
测试了新的主干网适配器,它的工作原理就像将它作为加载.<!-- the adaptor -->现在我试图用require.
js
和ractive.backbone适配器加载模块
浏览 4
提问于2013-10-09
得票数 1
回答已采纳
1
回答
我怎么能忽略jsHint中指定的错误呢?
当我运行jshint时,我在工作中使用require.
js
line 11, col 1, '
define
' is not defined.我想这样做:如果没有定义其他,请告诉我错误 如何在jshint.rc中编写
浏览 1
提问于2015-12-14
得票数 0
1
回答
未定义
的ReferenceError:
未定义
自动完成
现在我们的脚本不再承认我们的功能了: typeof
define
=== 'function' &&
define
.amd ?
define
(factory) : (global = global || self, global.autocomplete = facto
浏览 3
提问于2022-06-15
得票数 0
1
回答
使用kallyas-子主题时出现WordPress错误
、
parent(...).parent(...).closest(...).parent(...).attr(...) is undefined [more info] zn_script_child.
js
:3:19 window.onload<https://www.domain.tld/wp-content/themes/kallyas-child/
js
/zn_script_child.
js
:3:19<anonym>https://
浏览 8
提问于2018-06-22
得票数 0
点击加载更多
相关
资讯
const和define的区别
define的高级用法
c语言-define与常量
【C#】-C#-#define条件编译
单片机C语言知识用法之 define
热门
标签
更多标签
云服务器
ICP备案
对象存储
云直播
实时音视频
活动推荐
运营活动
广告
关闭
领券