mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 01:37:16 +00:00
Bug 1226661 - DevTools client JSM global tweak for B2G. r=ochameau
This commit is contained in:
parent
b15fc8df78
commit
5dfb0fb402
@ -61,4 +61,6 @@ function BrowserLoader(baseURI, window) {
|
||||
};
|
||||
}
|
||||
|
||||
EXPORTED_SYMBOLS = ["BrowserLoader"];
|
||||
this.BrowserLoader = BrowserLoader;
|
||||
|
||||
this.EXPORTED_SYMBOLS = ["BrowserLoader"];
|
||||
|
@ -172,7 +172,7 @@ function editableItem(options, callback) {
|
||||
};
|
||||
}
|
||||
|
||||
exports.editableItem = this.editableItem;
|
||||
exports.editableItem = editableItem;
|
||||
|
||||
/*
|
||||
* Various API consumers (especially tests) sometimes want to grab the
|
||||
|
@ -128,6 +128,7 @@ function AbstractTreeItem({ parent, level }) {
|
||||
EventEmitter.decorate(this);
|
||||
}
|
||||
}
|
||||
this.AbstractTreeItem = AbstractTreeItem;
|
||||
|
||||
AbstractTreeItem.prototype = {
|
||||
_containerNode: null,
|
||||
|
@ -38,6 +38,7 @@ function SimpleListWidget(aNode) {
|
||||
ViewHelpers.delegateWidgetAttributeMethods(this, aNode);
|
||||
ViewHelpers.delegateWidgetEventMethods(this, aNode);
|
||||
}
|
||||
this.SimpleListWidget = SimpleListWidget;
|
||||
|
||||
SimpleListWidget.prototype = {
|
||||
/**
|
||||
|
@ -65,6 +65,7 @@ function VariablesViewController(aView, aOptions = {}) {
|
||||
this.view = aView;
|
||||
this.view.controller = this;
|
||||
}
|
||||
this.VariablesViewController = VariablesViewController;
|
||||
|
||||
VariablesViewController.prototype = {
|
||||
/**
|
||||
@ -734,7 +735,7 @@ VariablesViewController.attach = function(aView, aOptions) {
|
||||
/**
|
||||
* Utility functions for handling stackframes.
|
||||
*/
|
||||
var StackFrameUtils = {
|
||||
var StackFrameUtils = this.StackFrameUtils = {
|
||||
/**
|
||||
* Create a textual representation for the specified stack frame
|
||||
* to display in the stackframes container.
|
||||
|
@ -82,6 +82,7 @@ function StyleEditorUI(debuggee, target, panelDoc) {
|
||||
this._prefObserver.on(PREF_ORIG_SOURCES, this._onNewDocument);
|
||||
this._prefObserver.on(PREF_MEDIA_SIDEBAR, this._onMediaPrefChanged);
|
||||
}
|
||||
this.StyleEditorUI = StyleEditorUI;
|
||||
|
||||
StyleEditorUI.prototype = {
|
||||
/**
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
"use strict";
|
||||
|
||||
this.EXPORTED_SYMBOLS = ["StyleSheetEditor", "prettifyCSS"];
|
||||
this.EXPORTED_SYMBOLS = ["StyleSheetEditor"];
|
||||
|
||||
const Cc = Components.classes;
|
||||
const Ci = Components.interfaces;
|
||||
@ -130,6 +130,7 @@ function StyleSheetEditor(styleSheet, win, file, isNew, walker, highlighter) {
|
||||
this.savedFile = file;
|
||||
this.linkCSSFile();
|
||||
}
|
||||
this.StyleSheetEditor = StyleSheetEditor;
|
||||
|
||||
StyleSheetEditor.prototype = {
|
||||
/**
|
||||
|
@ -68,6 +68,7 @@ var template = function(node, data, options) {
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.template = template;
|
||||
}
|
||||
this.template = template;
|
||||
|
||||
/**
|
||||
* Helper for the places where we need to act asynchronously and keep track of
|
||||
|
@ -109,3 +109,5 @@ var ShortcutUtils = {
|
||||
};
|
||||
|
||||
Object.freeze(ShortcutUtils);
|
||||
|
||||
this.ShortcutUtils = ShortcutUtils;
|
||||
|
Loading…
x
Reference in New Issue
Block a user