123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- "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 Business Analytics (C) Copyright IBM Corp. 2019
- * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- */
- /**
- * @class RenderContextImpl
- * @hideconstructor
- * @classdesc Implements {@link RenderContextAPI}
- */
- define([], function () {
- var RenderContextImpl = function () {
- /**
- *
- * @param {Object} options - init paramaters
- * @param {Object} options.renderContext - renderContext used internally
- */
- function RenderContextImpl(options) {
- _classCallCheck(this, RenderContextImpl);
- this._renderContext = options.renderContext;
- this._logger = options.logger;
- }
- /**
- * @implements RenderContextAPI.getSequenceId
- */
- RenderContextImpl.prototype.getSequenceId = function getSequenceId() {
- return this._renderContext.id;
- };
- /**
- * @implements RenderContextAPI.getData
- */
- RenderContextImpl.prototype.getData = function getData(name) {
- return this._renderContext[name];
- };
- return RenderContextImpl;
- }();
- return RenderContextImpl;
- });
- //# sourceMappingURL=RenderContextImpl.js.map
|