为什么Chrome扩展开发教程中的小猫示例没有加载任何图像? [英] Why doesn't the kitten example in the Chrome extension development tutorial load any images?

查看:106
本文介绍了为什么Chrome扩展开发教程中的小猫示例没有加载任何图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用入门页面中,我们承诺Flickr提供小猫的善意。根据说明将延伸部分放在一起,没有任何好处。相反,弹出窗口显示一个小的空白矩形条,没有任何模糊或可爱。



为什么?

(我在问这个问题的意图是回答它,因为我找不到任何其他方式来报告这个错误。)

解决方案

div>

第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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆