gpt4 book ai didi

javascript - Humanizer.Js 错误

转载 作者:行者123 更新时间:2023-12-03 08:23:17 25 4
gpt4 key购买 nike

我最近尝试过Humanizer.Js 。我从 here 添加了相同的 nuget 引用,并将其添加到我的页面中,名称为 <script src="~/Scripts/humanizer/humanizer.js"></script> 。但是在我的页面加载中我收到错误:“未捕获类型错误:无法读取未定义的属性‘原型(prototype)’”,位于 humanizer.js:409。堆栈跟踪如下所示:

Uncaught TypeError: Cannot read property 'prototype' of undefined
__extends @ humanizer.js:409
(anonymous function) @ humanizer.js:416
Humanizer.Configuration.Humanizer.Configuration @ humanizer.js:422
Humanizer @ humanizer.js:424
(anonymous function) @ humanizer.js:426

我还创建了一个 plunk here复制错误。另请注意 .humanize()也不起作用。

有什么建议吗?

最佳答案

我刚刚在 NuGet 上发布了 1.5 版本,应该修复您的错误

关于javascript - Humanizer.Js 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33652251/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com