Skip to content
This repository has been archived by the owner on Feb 26, 2022. It is now read-only.

Commit

Permalink
Bug 820582: address review comment on diff in lib/sdk/loader/cuddlefi…
Browse files Browse the repository at this point in the history
…sh.js
  • Loading branch information
erikvold committed Feb 15, 2013
1 parent b2ec37e commit 5b4fbc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/sdk/loader/cuddlefish.js
Expand Up @@ -22,15 +22,15 @@ require('sdk/system/xul-app') // Otherwise CFX will stip out sdk/system/xul

const { classes: Cc, Constructor: CC, interfaces: Ci, utils: Cu } = Components;

// `loadSandbox` is exposed by bootstrap.js
const loaderURI = module.uri.replace("sdk/loader/cuddlefish.js",
"toolkit/loader.js");
const xulappURI = module.uri.replace("loader/cuddlefish.js",
"system/xul-app.js");
// We need to keep a reference to the sandbox in order to unload it in
// bootstrap.js

// `loadSandbox` is exposed by bootstrap.js
const loaderSandbox = loadSandbox(loaderURI);
const loaderSandbox = loadSandbox(loaderURI);
const loaderModule = loaderSandbox.exports;

const xulappSandbox = loadSandbox(xulappURI);
Expand Down

0 comments on commit 5b4fbc8

Please sign in to comment.