Bring in bundle platform/core from the sandbox branch, in preparation for clean up, tests, and integration. WTD-573
25 lines
485 B
JavaScript
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;
|
|
}
|
|
); |