Internal.js 957 B

123456789101112131415161718192021222324252627282930313233343536
  1. "use strict";
  2. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  3. /**
  4. * Licensed Materials - Property of IBM
  5. * IBM Cognos Products: BI Cloud (C) Copyright IBM Corp. 2019
  6. * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. */
  8. define([], function () {
  9. var Internal = function () {
  10. function Internal(options) {
  11. _classCallCheck(this, Internal);
  12. this.view = options.view;
  13. }
  14. Internal.prototype.destroy = function destroy() {
  15. this.view = null;
  16. };
  17. /**
  18. * Only used for our internal API. Should not be used unless absolutely necessary and Ok'ed by code owners.
  19. */
  20. Internal.prototype.getBoardModel = function getBoardModel() {
  21. return this.view.boardModel;
  22. };
  23. return Internal;
  24. }();
  25. return Internal;
  26. });
  27. //# sourceMappingURL=Internal.js.map