'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(widgetApi, dashboardApi) { _classCallCheck(this, BaseFeature); this.widgetApi = widgetApi; this.dashboardApi = dashboardApi; console.debug('feature created'); } BaseFeature.prototype.getAPI = function getAPI() { var _this = this; return { testAPI: function testAPI() { console.debug('hello from ' + _this.widgetApi.getId()); } }; }; return BaseFeature; }(); return BaseFeature; }); //# sourceMappingURL=SampleFeature.js.map