为什么Chrome扩展开发教程中的小猫示例没有加载任何图像? [英] Why doesn't the kitten example in the Chrome extension development tutorial load any images?
问题描述
在使用入门页面中,我们承诺Flickr提供小猫的善意。根据说明将延伸部分放在一起,没有任何好处。相反,弹出窗口显示一个小的空白矩形条,没有任何模糊或可爱。
为什么?
(我在问这个问题的意图是回答它,因为我找不到任何其他方式来报告这个错误。)
第40行的popup.js文件存在一个错误。对kittensOnFlickr_的引用应该是searchOnFlickr_。修复并重新加载,以及tada,kitteh。
In the Getting Started page, we're promised kittenish goodness from Flickr. Putting the extension together according to the instructions, no kittenish goodness materializes. Instead, the popup window shows a small blank rectangular bar, devoid of anything fuzzy or cute.
Why?
(I'm asking this question with the intent to answer it, because I couldn't find any other way to report the mistake.)
There's a bug in the popup.js file on line 40. The reference to kittensOnFlickr_ should be searchOnFlickr_ instead. Fix and reload, and tada, kitteh.
这篇关于为什么Chrome扩展开发教程中的小猫示例没有加载任何图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!