gpt4 book ai didi

google-closure - 谷歌关闭 - goog.require 找不到 goog.ui.AutoComplete

转载 作者:行者123 更新时间:2023-12-02 00:17:34 24 4
gpt4 key购买 nike

更新到 Google Closure Library 的修订版 2156 后,goog.require() 无法找到 goog.ui.AutoComplete

svn update 
At revision 2156.

错误信息

goog.require could not find: goog.ui.AutoComplete.Remote base.js:333
Uncaught Error: goog.require could not find: goog.ui.AutoComplete.Remote

goog.ui.AutoComplete 外一切正常。此错误仅在我更新 Google Closure Library 后发生。

最佳答案

闭包库 revision r2132日期为 2012 年 8 月 30 日的日志消息如下:

Remove all closure/ui/autocomplete code. This is the last step of a big goog.ui.AutoComplete rename/cleanup

If this change BREAKS YOU - first of all, SORRY!

自动完成的新包是 goog.ui.ac,因此您的 require 语句需要更新:

goog.require('goog.ui.ac.AutoComplete'); 

关于google-closure - 谷歌关闭 - goog.require 找不到 goog.ui.AutoComplete,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12392931/

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