Fix some XPCOM Zotero breakage from previous commits
This commit is contained in:
parent
aa908516eb
commit
51e181cb81
2 changed files with 5 additions and 6 deletions
|
@ -46,7 +46,6 @@ Services.scriptloader.loadSubScript("resource://zotero/polyfill.js");
|
|||
this.setFontSize = setFontSize;
|
||||
this.flattenArguments = flattenArguments;
|
||||
this.getAncestorByTagName = getAncestorByTagName;
|
||||
this.randomString = randomString;
|
||||
this.reinit = reinit; // defined in zotero-service.js
|
||||
|
||||
// Public properties
|
||||
|
@ -1338,7 +1337,7 @@ Services.scriptloader.loadSubScript("resource://zotero/polyfill.js");
|
|||
}
|
||||
|
||||
function setFontSize(rootElement) {
|
||||
return Zotero.Utilities.setFontSize(rootElement);
|
||||
return Zotero.Utilities.Internal.setFontSize(rootElement);
|
||||
}
|
||||
|
||||
function flattenArguments(args){
|
||||
|
@ -1349,8 +1348,8 @@ Services.scriptloader.loadSubScript("resource://zotero/polyfill.js");
|
|||
return Zotero.Utilities.Internal.getAncestorByTagName(elem, tagName);
|
||||
}
|
||||
|
||||
function randomString(len, chars) {
|
||||
return Zotero.Utilities.Internal.randomString(len, chars);
|
||||
this.randomString = function(len, chars) {
|
||||
return Zotero.Utilities.randomString(len, chars);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -39,6 +39,8 @@ const xpcomFilesAll = [
|
|||
'date',
|
||||
'debug',
|
||||
'error',
|
||||
'utilities',
|
||||
'utilities_internal',
|
||||
'file',
|
||||
'http',
|
||||
'mimeTypeHandler',
|
||||
|
@ -51,9 +53,7 @@ const xpcomFilesAll = [
|
|||
'translation/translate_firefox',
|
||||
'translation/translator',
|
||||
'translation/tlds',
|
||||
'utilities',
|
||||
'isbn',
|
||||
'utilities_internal',
|
||||
'utilities_translate'
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue