Skip to content

Instantly share code, notes, and snippets.

@Colmea
Created March 18, 2016 15:43
Show Gist options
  • Save Colmea/a742222ff17454c66736 to your computer and use it in GitHub Desktop.
Save Colmea/a742222ff17454c66736 to your computer and use it in GitHub Desktop.
Error: Cannot read property 'prototype' of undefined
/* 448 */
/***/ function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(module) {/* REACT HOT LOADER */ if (true) { (function () { var ReactHotAPI = __webpack_require__(77), RootInstanceProvider = __webpack_require__(85), ReactMount = __webpack_require__(87), React = __webpack_require__(139); module.makeHot = module.hot.data ? module.hot.data.makeHot : ReactHotAPI(function () { return RootInstanceProvider.getRootInstances(ReactMount); }, React); })(); } try { (function () {
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var AbstractComponent_1 = __webpack_require__(449);
var Timber = (function (_super) {
__extends(Timber, _super);
function Timber(options) {
this.type = "Timber";
this.id = this.type + '001'; // Math.random().toString(36).slice(2);
this.position = { x: 0, y: 0, z: 0 };
this.rotation = {
x: 0,
y: 0,
z: 0
};
}
Timber.CUBIC_PRICE = 1000;
return Timber;
}(AbstractComponent_1.default));
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = Timber;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment