Skip to content

Commit

Permalink
Merge branch 'ide-refactor'
Browse files Browse the repository at this point in the history
Conflicts:
	components/greasemonkey.js
	content/addons4-overlay.js

Fixes #1167
  • Loading branch information
arantius committed May 19, 2011
2 parents 561e926 + 2f3ba34 commit 6eb4232
Show file tree
Hide file tree
Showing 13 changed files with 1,418 additions and 1,332 deletions.
836 changes: 427 additions & 409 deletions components/greasemonkey.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions content/addons4-overlay.js
@@ -1,7 +1,7 @@
// This file is concerned with altering the Firefox 4+ Add-ons Manager window,
// for those sorts of functionality we want that the API does not handle. (As
// opposed to addons4.jsm which is responsible for what the API does handle.)
(function() {
(function private_scope() {
Components.utils.import("resource://gre/modules/AddonManager.jsm");
Components.utils.import("resource://greasemonkey/addons4.js");

Expand Down Expand Up @@ -40,7 +40,7 @@ gViewController.loadView = function(aViewId) {
// Set up an "observer" on the config, to keep the displayed items up to date
// with their actual state.
var observer = {
notifyEvent: function(script, event, data) {
notifyEvent: function observer_notifyEvent(script, event, data) {
if (userScriptViewId != gViewController.currentViewId) return;

var addon = ScriptAddonFactoryByScript(script);
Expand Down Expand Up @@ -230,7 +230,7 @@ function unload() {
};
})();

function GM_openUserscriptsOrg(){
function GM_openUserscriptsOrg() {
var chromeWin = GM_getBrowserWindow();
chromeWin.gBrowser.selectedTab = chromeWin.gBrowser.addTab(
'http://userscripts.org');
Expand Down
2 changes: 1 addition & 1 deletion content/browser.js
Expand Up @@ -3,7 +3,7 @@
// all the main injection logic, though that should probably be a proper XPCOM
// service and wouldn't need to be initialized in that case.

var GM_BrowserUI = {};
function GM_BrowserUI() {};

/**
* nsISupports.QueryInterface
Expand Down

0 comments on commit 6eb4232

Please sign in to comment.