| 61698 | parcelHelpers.export(exports, "stubRemovedMethods", ()=>stubRemovedMethods); |
| 61699 | var _gltools = require("@luma.gl/gltools"); |
| 61700 | function stubRemovedMethods(instance, className, version, methodNames) { |
| 61701 | var upgradeMessage = "See luma.gl ".concat(version, " Upgrade Guide at https://luma.gl/docs/upgrade-guide"); |
| 61702 | var prototype = Object.getPrototypeOf(instance); |
| 61703 | methodNames.forEach(function(methodName) { |
| 61704 | if (prototype.methodName) return; |
| 61705 | prototype[methodName] = function() { |
| 61706 | (0, _gltools.log).removed("Calling removed method ".concat(className, ".").concat(methodName, ": "), upgradeMessage)(); |
| 61707 | throw new Error(methodName); |
| 61708 | }; |
| 61709 | }); |
| 61710 | } |
| 61711 | |
| 61712 | },{"@luma.gl/gltools":"7HW6a","@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"bnrUb":[function(require,module,exports) { |
| 61713 | var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js"); |