fixed merge conflicts

This commit is contained in:
Joel McKinnon 2019-12-18 13:01:28 -08:00
commit f0b3311630
7 changed files with 19 additions and 15 deletions

4
app.js
View File

@ -15,7 +15,11 @@ const fs = require('fs');
const request = require('request');
// Defaults
<<<<<<< HEAD
options.port = options.port || options.p || 8070;
=======
options.port = options.port || options.p || 8080;
>>>>>>> 656d6d6c3f0701f9afceb01c358eb047bd351bb2
options.host = options.host || 'localhost';
options.directory = options.directory || options.D || '.';

View File

@ -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
* Administration. All rights reserved.
*
@ -264,7 +264,7 @@ define([
this.install(this.plugins.GoToOriginalAction());
this.install(this.plugins.ImportExport());
this.install(this.plugins.WebPage());
this.install(this.plugins.Condition());
this.install(this.plugins.ConditionSet());
}
MCT.prototype = Object.create(EventEmitter.prototype);

View File

@ -1,5 +1,5 @@
<template>
<div><!-- Condition Set component contents will go here --></div>
<div><!--Stuff goes here--></div>
</template>
<script>

View File

@ -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
* Administration. All rights reserved.
*
@ -21,16 +21,16 @@
*****************************************************************************/
import ConditionSetViewProvider from './ConditionSetViewProvider.js';
export default function ConditionSetPlugin() {
export default function plugin() {
const conditionSetType = {
name: 'Condition Set',
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,
cssClass: 'icon-folder',
initialize: function (domainObject) {
domainObject.composition = [];
domainObject.telemetry = {};
// domainObject.telemetry = {};
}
};

View File

@ -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
* Administration. All rights reserved.
*
@ -57,9 +57,9 @@ fdescribe("The plugin", () => {
expect(Array.isArray(mockDomainObject.composition)).toBeTrue();
});
it('a telemetry object', () => {
expect(typeof mockDomainObject.telemetry === 'object').toBeTrue();
});
// it('a telemetry object', () => {
// expect(typeof mockDomainObject.telemetry === 'object').toBeTrue();
// });
});
});

View File

@ -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
* Administration. All rights reserved.
*
@ -47,7 +47,7 @@ define([
'./goToOriginalAction/plugin',
'./clearData/plugin',
'./webPage/plugin',
'./condition/plugin',
'./conditionSet/plugin',
'./themes/espresso',
'./themes/maelstrom',
'./themes/snow'
@ -78,7 +78,7 @@ define([
GoToOriginalAction,
ClearData,
WebPagePlugin,
ConditionPlugin,
ConditionSetPlugin,
Espresso,
Maelstrom,
Snow
@ -184,7 +184,7 @@ define([
plugins.GoToOriginalAction = GoToOriginalAction.default;
plugins.ClearData = ClearData;
plugins.WebPage = WebPagePlugin.default;
plugins.Condition = ConditionPlugin.default;
plugins.ConditionSet = ConditionSetPlugin.default;
plugins.Espresso = Espresso.default;
plugins.Maelstrom = Maelstrom.default;
plugins.Snow = Snow.default;