123456789101112131415161718192021222324252627282930313233343536373839404142 |
- 'use strict';
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
- /**
- * Licensed Materials - Property of IBM
- * IBM Cognos Products: BI Cloud (C) Copyright IBM Corp. 2018
- * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- *
- */
- define([], function () {
- 'use strict';
- var BaseFeature = function () {
- function BaseFeature(options) {
- _classCallCheck(this, BaseFeature);
- this.content = options.content;
- this.dashboardAPI = options.dashboardAPI;
- console.debug('******* feature created');
- }
- BaseFeature.prototype.initialize = function initialize() {
- return Promise.resolve();
- };
- BaseFeature.prototype.getAPI = function getAPI() {
- var _this = this;
- return {
- testAPI: function testAPI() {
- console.debug('hello from ' + _this.content.getId());
- }
- };
- };
- return BaseFeature;
- }();
- return BaseFeature;
- });
- //# sourceMappingURL=SampleFeature.js.map
|