当前位置:网站首页>An error, uncaught typeerror: modalfactory is not a constructor
An error, uncaught typeerror: modalfactory is not a constructor
2022-07-19 11:14:00 【Happy every day!】

Refer to this article JS Uncaught TypeError: xxx is not a constructor Problem analysis _ Xiao Weiwei's blog -CSDN Blog 
Sure enough, it's the variable name and function ( Classes can be considered constructors ) repeated . Because from GO Speaking of ,
{
ModalFactory:undefined
}
Execute to this sentence :var ModalFactory = new ModalFactory(dom)
ModalFactory still undefined, Definitely not a constructor .
Sure enough, change the variable name , The problem is solved .
边栏推荐
- Daily question brushing record (26)
- Detailed explanation of multiple linear regression
- Un modèle de détection par défaut basé sur le réseau neuronal évolutif rapide dans le contrôle de la qualité des produits - lire les notes
- leetcode-08
- Paper notes: mind the gap an empirical evaluation of impaction ofmissing values techniques in timeseries
- 常用getshell工具的下载
- Unity high version returned low version error
- Model comparison of material inventory management between sap ECC and s4hana material
- 最大半连通子图(tarjan缩点+拓扑排序+dp最长链)
- Huawei machine test: number of continuous licensing
猜你喜欢

LeetCode 745. 前缀和后缀搜索

XSS.haozi.me刷题

树链剖分思想讲解 + AcWing 2568. 树链剖分(dfs序 + 爬山法 + 线段树)

(2) Using MySQL

论文笔记:Mind the Gap An Experimental Evaluation of Imputation ofMissing Values Techniques in TimeSeries

Second classification learning is extended to multi classification learning
![Some methods of early MCU encryption [get data in the comment area]](/img/14/8e1dcb799d8a3c0aefcac09be9dc51.png)
Some methods of early MCU encryption [get data in the comment area]

Explanation of tree chain dissection idea + acwing 2568 Tree chain dissection (DFS sequence + mountain climbing method + segment tree)

Configuration of vscode+unity3d

Pytoch framework learning record 1 cifar-10 classification
随机推荐
6G smart endogenous: technical challenges, architecture and key features
Efficient space-based computing technology for satellite communication in 6g
Scala's dosing in idea
Second classification learning is extended to multi classification learning
Accident caused by the combination of annotation transaction + distributed lock at the read committed level -- disorder of activity purchase opportunities
Over fitting and under fitting
Ppde Q2 welcome | welcome 22 AI developers to join the propeller developer technical expert program!
Evaluation method of machine learning model
ROS duplicate name
常用getshell工具的下载
腾讯云服务器利用镜像部署WordPress个人网站!
Win10 start key click no response
vulnhub inclusiveness: 1
Antd drop-down multiple options to transfer values to the background for query operations
A fastandrobust volutionalneuralnetwork based defect detection model inproductqualitycontrol reading notes
leetcode-08
Data Guard Broker的概念和Data Guard Broker的配置过程
Introduction to virtualization troubleshooting
Thinking about the integrated communication of air, space and earth based on the "7.20 Zhengzhou rainstorm"
Pytoch and weight decay (L2 norm)