updated for Firefox Sync 1.4
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6792 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
3be6adfe22
commit
1c091bed08
@ -1180,7 +1180,12 @@ TreeStyleTabService.overrideExtensionsDelayed = function TSTService_overrideExte
|
|||||||
// http://www.mozilla.com/en-US/firefox/sync/
|
// http://www.mozilla.com/en-US/firefox/sync/
|
||||||
if ('gFxWeaveGlue' in window) {
|
if ('gFxWeaveGlue' in window) {
|
||||||
let ns = {};
|
let ns = {};
|
||||||
Components.utils.import('resource://weave/service.js', ns);
|
try { // 1.4
|
||||||
|
Components.utils.import('resource://services-sync/service.js', ns);
|
||||||
|
}
|
||||||
|
catch(e) { // 1.3
|
||||||
|
Components.utils.import('resource://weave/service.js', ns);
|
||||||
|
}
|
||||||
let engine = ns.Weave.Engines.get('tabs');
|
let engine = ns.Weave.Engines.get('tabs');
|
||||||
let listener = {
|
let listener = {
|
||||||
handleEvent : function(aEvent)
|
handleEvent : function(aEvent)
|
||||||
|
Loading…
Reference in New Issue
Block a user