mirror of
https://github.com/nasa/openmct.git
synced 2025-06-18 07:08:12 +00:00
[API] Run gulp fixstyle
This commit is contained in:
@ -74,14 +74,14 @@ define([
|
|||||||
type: "decorator",
|
type: "decorator",
|
||||||
provides: "actionService",
|
provides: "actionService",
|
||||||
implementation: ActionDialogDecorator,
|
implementation: ActionDialogDecorator,
|
||||||
depends: [ "openmct", "newViews[]" ]
|
depends: ["openmct", "newViews[]"]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
policies: [
|
policies: [
|
||||||
{
|
{
|
||||||
category: "composition",
|
category: "composition",
|
||||||
implementation: AdapterCompositionPolicy,
|
implementation: AdapterCompositionPolicy,
|
||||||
depends: [ "openmct" ]
|
depends: ["openmct"]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
runs: [
|
runs: [
|
||||||
|
@ -57,7 +57,7 @@ define([
|
|||||||
removeGeneralTopicListener = this.generalTopic.listen(handleLegacyMutation);
|
removeGeneralTopicListener = this.generalTopic.listen(handleLegacyMutation);
|
||||||
}.bind(this);
|
}.bind(this);
|
||||||
|
|
||||||
handleLegacyMutation = function (legacyObject){
|
handleLegacyMutation = function (legacyObject) {
|
||||||
var newStyleObject = utils.toNewFormat(legacyObject.getModel(), legacyObject.getId());
|
var newStyleObject = utils.toNewFormat(legacyObject.getModel(), legacyObject.getId());
|
||||||
|
|
||||||
//Don't trigger self
|
//Don't trigger self
|
||||||
|
@ -59,7 +59,7 @@ define([
|
|||||||
* @method on
|
* @method on
|
||||||
* @memberof module:openmct.MutableObject#
|
* @memberof module:openmct.MutableObject#
|
||||||
*/
|
*/
|
||||||
MutableObject.prototype.on = function(path, callback) {
|
MutableObject.prototype.on = function (path, callback) {
|
||||||
var fullPath = qualifiedEventName(this.object, path);
|
var fullPath = qualifiedEventName(this.object, path);
|
||||||
objectEventEmitter.on(fullPath, callback);
|
objectEventEmitter.on(fullPath, callback);
|
||||||
this.unlisteners.push(objectEventEmitter.off.bind(objectEventEmitter, fullPath, callback));
|
this.unlisteners.push(objectEventEmitter.off.bind(objectEventEmitter, fullPath, callback));
|
||||||
|
@ -85,7 +85,7 @@ define([
|
|||||||
'../platform/representation/bundle',
|
'../platform/representation/bundle',
|
||||||
'../platform/search/bundle',
|
'../platform/search/bundle',
|
||||||
'../platform/status/bundle',
|
'../platform/status/bundle',
|
||||||
'../platform/telemetry/bundle',
|
'../platform/telemetry/bundle'
|
||||||
], function (legacyRegistry) {
|
], function (legacyRegistry) {
|
||||||
|
|
||||||
var DEFAULTS = [
|
var DEFAULTS = [
|
||||||
|
Reference in New Issue
Block a user