替换已弃用的sdk / widget,不使用Australis的工具栏 [英] Replace deprecated sdk/widget, without using toolbar from Australis

查看:147
本文介绍了替换已弃用的sdk / widget,不使用Australis的工具栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于某些时候sdk / widget已经被弃用,并根据 https://blog.mozilla.org/addons/2014/03/13/new-add-on-sdk-australis-ui-features-in-firefox -29 / sdk / ui /应该用来代替。



不幸的是sdk / ui / frame会把自己放在sdk / ui / toolbar上,移到主菜单。工具栏是我不能接受的,但sdk / widget的支持将在未来被丢弃 - 所以我需要一些解决方案。


$ b 参考 - sdk / widget框架填充进度条)和一个sdk / ui可憎与自己的菜单下面(黑色,没有填充的进度栏)。

http://i58.tinypic.com/2ns13qe.png

解决方案



只需复制并粘贴到一个新的模块,删除弃用警告,并在npm上发布,并开始使用它与 jpm



有关从cfx移到JPM的更多信息,请点击这里


Since some time sdk/widget is deprecated and according to https://blog.mozilla.org/addons/2014/03/13/new-add-on-sdk-australis-ui-features-in-firefox-29/ sdk/ui/ should be used instead.

Unfortunately sdk/ui/frame places itself on sdk/ui/toolbar and it may be not moved to main menu. Toolbar is unacceptable for me, but sdk/widget support will be dropped in future - so I need some solution.

For reference - sdk/widget frame (with purple, fully filled progress bars) and a sdk/ui abomination with its own menu below (black, not filled progress bars).

http://i58.tinypic.com/2ns13qe.png

解决方案

You can fork the widget module and publish it on npm and try to support it.

Just copy and paste it to a new module, remove the deprecation warnings, and publish that on npm, and start using it with jpm

For more information on moving to JPM from cfx click here.

这篇关于替换已弃用的sdk / widget,不使用Australis的工具栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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