mirror of
https://github.com/nasa/openmct.git
synced 2025-01-02 11:26:42 +00:00
074958317f
Add an example showing the use of composite services, WTD-518.
27 lines
529 B
JavaScript
27 lines
529 B
JavaScript
/*global define,Promise*/
|
|
|
|
/**
|
|
* Module defining SomeOtherProvider. Created by vwoeltje on 11/5/14.
|
|
*/
|
|
define(
|
|
[],
|
|
function () {
|
|
"use strict";
|
|
|
|
/**
|
|
*
|
|
* @constructor
|
|
*/
|
|
function SomeOtherProvider() {
|
|
return {
|
|
getMessages: function () {
|
|
return [
|
|
"I am a message from some other provider."
|
|
];
|
|
}
|
|
};
|
|
}
|
|
|
|
return SomeOtherProvider;
|
|
}
|
|
); |