Skip to content

Commit

Permalink
Use Local Namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
RealityRipple committed Aug 16, 2018
1 parent 0cb6a06 commit d72ea9c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions chrome/content/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ com.RealityRipple.ExtExp = function()
if (priv.isLegacyEM())
{
priv.showLegacyButton();
document.getElementById("extensionsView").addEventListener("select", com.RealityRipple.ExtExp.wait, false);
document.getElementById("extensionsView").addEventListener("select", pub.wait, false);
}
else
{
document.addEventListener("ViewChanged", com.RealityRipple.ExtExp.showButton, true);
com.RealityRipple.ExtExp.showButton();
document.addEventListener("ViewChanged", pub.showButton, true);
pub.showButton();
}
}

Expand All @@ -24,7 +24,7 @@ com.RealityRipple.ExtExp = function()
pub.wait = function()
{
priv.showLegacyButton();
priv.timer.initWithCallback(com.RealityRipple.ExtExp.event, 1, Components.interfaces.nsITimer.TYPE_REPEATING_SLACK);
priv.timer.initWithCallback(pub.event, 1, Components.interfaces.nsITimer.TYPE_REPEATING_SLACK);
}

pub.event =
Expand Down Expand Up @@ -86,7 +86,7 @@ com.RealityRipple.ExtExp = function()
}
}
}
document.getElementById("addon-list").addEventListener('select', com.RealityRipple.ExtExp.newButton, false);
document.getElementById("addon-list").addEventListener('select', pub.newButton, false);
}
else if (document.getElementById("view-port").selectedPanel.id == "detail-view")
{
Expand Down

0 comments on commit d72ea9c

Please sign in to comment.