Files
openmct/platform/core/src/views/ViewCapability.js
Victor Woeltjen 0fdce798f7 [Core] Bring in core bundle from sandbox
Bring in bundle platform/core from the sandbox
branch, in preparation for clean up, tests, and
integration. WTD-573
2014-11-20 12:58:21 -08:00

25 lines
485 B
JavaScript

/*global define,Promise*/
/**
* Module defining ViewCapability. Created by vwoeltje on 11/10/14.
*/
define(
[],
function () {
"use strict";
/**
*
* @constructor
*/
function ViewCapability(viewService, domainObject) {
return {
invoke: function () {
return viewService.getViews(domainObject);
}
};
}
return ViewCapability;
}
);