mirror of
https://github.com/nasa/openmct.git
synced 2025-01-20 03:36:44 +00:00
25 lines
480 B
JavaScript
25 lines
480 B
JavaScript
|
/*global define,Promise*/
|
||
|
|
||
|
/**
|
||
|
* Module defining SomeOtherExample. Created by vwoeltje on 11/5/14.
|
||
|
*/
|
||
|
define(
|
||
|
[],
|
||
|
function () {
|
||
|
"use strict";
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
* @constructor
|
||
|
*/
|
||
|
function SomeOtherExample(someService) {
|
||
|
return {
|
||
|
getText: function () {
|
||
|
return someService.getMessages().join(" | ");
|
||
|
}
|
||
|
};
|
||
|
}
|
||
|
|
||
|
return SomeOtherExample;
|
||
|
}
|
||
|
);
|