Skip to content
This repository has been archived by the owner on Dec 3, 2017. It is now read-only.

Remove deprecated API #14

Open
devunion opened this issue Aug 25, 2014 · 3 comments
Open

Remove deprecated API #14

devunion opened this issue Aug 25, 2014 · 3 comments

Comments

@devunion
Copy link

Hi, could you update the library to avoid of using deprecated API?

There is stack from FF 31:

"DEPRECATED: The widget module is deprecated. Please consider using the sdk/ui module instead.
Traceback (most recent call last):
File "resource://gre/modules/commonjs/sdk/addon/runner.js", line 113, in startup/<
run(options);
File "resource://gre/modules/commonjs/sdk/addon/runner.js", line 161, in run
quit: exit
........................................................
File "resource://jid1-bedgas3lmlydea-at-jetpack/browser-action/lib/browserAction.js", line 318, in Badge
let tbw = createBadge(browserAction, badgeState);
File "resource://jid1-bedgas3lmlydea-at-jetpack/browser-action/lib/browserAction.js", line 222, in createBadge
onClick: function() {
File "resource://jid1-bedgas3lmlydea-at-jetpack/toolbarwidget/lib/toolbarwidget.js", line 343, in exports.ToolbarWidget
let sdkWidget = require('sdk/widget').Widget(options);

That will be really helpful. Thank you!

@duzun
Copy link
Contributor

duzun commented Aug 25, 2014

+1

@Rob--W
Copy link
Owner

Rob--W commented Aug 25, 2014

This is on my to-do list, but it has a low priority. Pull requests are welcome.

@Rob--W
Copy link
Owner

Rob--W commented Aug 13, 2015

When I published this module, Firefox's support for Chrome-style buttons was bad. Now the situation has significantly been improved, so I recommend to use the built-in sdk/ui modules instead.

Firefox has started an initiative to bring the features of the Chrome extension API to Firefox, see https://bugzilla.mozilla.org/show_bug.cgi?id=1161828.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants