Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我刚刚开始使用noty.js,但是每当我尝试在“创建 noty”下执行超级基本示例时,我都会不断收到错误消息:
Uncaught TypeError: Property 'noty' of object function (a,b){return new e.fn.init(a,b,h)} is not a function
(jsfiddle)
这是noty的问题,还是我的问题?
最简单的例子是
noty({text: 'noty - a jquery notification library!'});
而不是你的
$.noty({text: 'noty - a jquery notification library!'});