Skip to content

Commit

Permalink
Typos and style.
Browse files Browse the repository at this point in the history
  • Loading branch information
rnewman committed Sep 21, 2011
1 parent 8f8c2ad commit 195b64f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pullstarter.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,21 @@ let PullStarter = {
function unloader() {
try {
callback();
} catch(ex) {
} catch (ex) {
// Ignore.
}
}
unloaders.push(unloader);

// Provide a way to remove the unloader
// Provide a way to remove the unloader.
function removeUnloader() {
let index = unloaders.indexOf(unloader);
if (index != -1) {
unloaders.splice(index, 1);
}
}

// If an associated window was specificed, we want to call the
// If an associated window was specified, we want to call the
// unloader when the window dies, or when the extension unloads.
if (window) {
// That means when the window gets unloaded, we want to call the unloader
Expand All @@ -80,7 +80,7 @@ let PullStarter = {
},

/**
* Register a 'chrome.manifest'
* Register a 'chrome.manifest'.
*
* @param data
* The add-on data object passed into the startup() function.
Expand Down Expand Up @@ -224,7 +224,7 @@ let PullStarter = {
if (documentElement.getAttribute("windowtype") == type) {
callback(window);
}
} catch(ex) {
} catch (ex) {
// Ignore.
}
}
Expand Down

0 comments on commit 195b64f

Please sign in to comment.