mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 15:28:39 +09:00
Issue #1138 - Part 1: refactor the JSON Viewer stream converter
Mozilla Bug 1367894
This commit is contained in:
parent
aa1fc0720e
commit
8f1e1f40c7
4 changed files with 153 additions and 194 deletions
|
|
@ -96,6 +96,8 @@ exports.exportIntoContentScope = function (win, obj, defineAs) {
|
|||
Cu.exportFunction(propValue, clone, {
|
||||
defineAs: propName
|
||||
});
|
||||
} else {
|
||||
clone[propName] = Cu.cloneInto(propValue, win);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue