mirror of
https://github.com/nasa/openmct.git
synced 2024-12-22 14:32:22 +00:00
fixed merge conflicts
This commit is contained in:
commit
f0b3311630
4
app.js
4
app.js
@ -15,7 +15,11 @@ const fs = require('fs');
|
|||||||
const request = require('request');
|
const request = require('request');
|
||||||
|
|
||||||
// Defaults
|
// Defaults
|
||||||
|
<<<<<<< HEAD
|
||||||
options.port = options.port || options.p || 8070;
|
options.port = options.port || options.p || 8070;
|
||||||
|
=======
|
||||||
|
options.port = options.port || options.p || 8080;
|
||||||
|
>>>>>>> 656d6d6c3f0701f9afceb01c358eb047bd351bb2
|
||||||
options.host = options.host || 'localhost';
|
options.host = options.host || 'localhost';
|
||||||
options.directory = options.directory || options.D || '.';
|
options.directory = options.directory || options.D || '.';
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* Open MCT, Copyright (c) 2014-2018, United States Government
|
* Open MCT, Copyright (c) 2014-2019, United States Government
|
||||||
* as represented by the Administrator of the National Aeronautics and Space
|
* as represented by the Administrator of the National Aeronautics and Space
|
||||||
* Administration. All rights reserved.
|
* Administration. All rights reserved.
|
||||||
*
|
*
|
||||||
@ -264,7 +264,7 @@ define([
|
|||||||
this.install(this.plugins.GoToOriginalAction());
|
this.install(this.plugins.GoToOriginalAction());
|
||||||
this.install(this.plugins.ImportExport());
|
this.install(this.plugins.ImportExport());
|
||||||
this.install(this.plugins.WebPage());
|
this.install(this.plugins.WebPage());
|
||||||
this.install(this.plugins.Condition());
|
this.install(this.plugins.ConditionSet());
|
||||||
}
|
}
|
||||||
|
|
||||||
MCT.prototype = Object.create(EventEmitter.prototype);
|
MCT.prototype = Object.create(EventEmitter.prototype);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div><!-- Condition Set component contents will go here --></div>
|
<div><!--Stuff goes here--></div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
@ -1,5 +1,5 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* Open MCT, Copyright (c) 2014-2018, United States Government
|
* Open MCT, Copyright (c) 2014-2019, United States Government
|
||||||
* as represented by the Administrator of the National Aeronautics and Space
|
* as represented by the Administrator of the National Aeronautics and Space
|
||||||
* Administration. All rights reserved.
|
* Administration. All rights reserved.
|
||||||
*
|
*
|
||||||
@ -21,16 +21,16 @@
|
|||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
import ConditionSetViewProvider from './ConditionSetViewProvider.js';
|
import ConditionSetViewProvider from './ConditionSetViewProvider.js';
|
||||||
|
|
||||||
export default function ConditionSetPlugin() {
|
export default function plugin() {
|
||||||
const conditionSetType = {
|
const conditionSetType = {
|
||||||
name: 'Condition Set',
|
name: 'Condition Set',
|
||||||
key: 'conditionSet',
|
key: 'conditionSet',
|
||||||
description: 'A set of one or more conditional rules based on user-specified criteria.',
|
description: 'A set of one or more conditions based on user-specified criteria.',
|
||||||
creatable: true,
|
creatable: true,
|
||||||
cssClass: 'icon-folder',
|
cssClass: 'icon-folder',
|
||||||
initialize: function (domainObject) {
|
initialize: function (domainObject) {
|
||||||
domainObject.composition = [];
|
domainObject.composition = [];
|
||||||
domainObject.telemetry = {};
|
// domainObject.telemetry = {};
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* Open MCT, Copyright (c) 2014-2018, United States Government
|
* Open MCT, Copyright (c) 2014-2019, United States Government
|
||||||
* as represented by the Administrator of the National Aeronautics and Space
|
* as represented by the Administrator of the National Aeronautics and Space
|
||||||
* Administration. All rights reserved.
|
* Administration. All rights reserved.
|
||||||
*
|
*
|
||||||
@ -57,9 +57,9 @@ fdescribe("The plugin", () => {
|
|||||||
expect(Array.isArray(mockDomainObject.composition)).toBeTrue();
|
expect(Array.isArray(mockDomainObject.composition)).toBeTrue();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('a telemetry object', () => {
|
// it('a telemetry object', () => {
|
||||||
expect(typeof mockDomainObject.telemetry === 'object').toBeTrue();
|
// expect(typeof mockDomainObject.telemetry === 'object').toBeTrue();
|
||||||
});
|
// });
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* Open MCT, Copyright (c) 2014-2018, United States Government
|
* Open MCT, Copyright (c) 2014-2019, United States Government
|
||||||
* as represented by the Administrator of the National Aeronautics and Space
|
* as represented by the Administrator of the National Aeronautics and Space
|
||||||
* Administration. All rights reserved.
|
* Administration. All rights reserved.
|
||||||
*
|
*
|
||||||
@ -47,7 +47,7 @@ define([
|
|||||||
'./goToOriginalAction/plugin',
|
'./goToOriginalAction/plugin',
|
||||||
'./clearData/plugin',
|
'./clearData/plugin',
|
||||||
'./webPage/plugin',
|
'./webPage/plugin',
|
||||||
'./condition/plugin',
|
'./conditionSet/plugin',
|
||||||
'./themes/espresso',
|
'./themes/espresso',
|
||||||
'./themes/maelstrom',
|
'./themes/maelstrom',
|
||||||
'./themes/snow'
|
'./themes/snow'
|
||||||
@ -78,7 +78,7 @@ define([
|
|||||||
GoToOriginalAction,
|
GoToOriginalAction,
|
||||||
ClearData,
|
ClearData,
|
||||||
WebPagePlugin,
|
WebPagePlugin,
|
||||||
ConditionPlugin,
|
ConditionSetPlugin,
|
||||||
Espresso,
|
Espresso,
|
||||||
Maelstrom,
|
Maelstrom,
|
||||||
Snow
|
Snow
|
||||||
@ -184,7 +184,7 @@ define([
|
|||||||
plugins.GoToOriginalAction = GoToOriginalAction.default;
|
plugins.GoToOriginalAction = GoToOriginalAction.default;
|
||||||
plugins.ClearData = ClearData;
|
plugins.ClearData = ClearData;
|
||||||
plugins.WebPage = WebPagePlugin.default;
|
plugins.WebPage = WebPagePlugin.default;
|
||||||
plugins.Condition = ConditionPlugin.default;
|
plugins.ConditionSet = ConditionSetPlugin.default;
|
||||||
plugins.Espresso = Espresso.default;
|
plugins.Espresso = Espresso.default;
|
||||||
plugins.Maelstrom = Maelstrom.default;
|
plugins.Maelstrom = Maelstrom.default;
|
||||||
plugins.Snow = Snow.default;
|
plugins.Snow = Snow.default;
|
||||||
|
Loading…
Reference in New Issue
Block a user