* Update member-expression-to-functions 1. Babel using British spellings, so `memoise` 2. Provide a helper `AssignmentMemoiser` class, which will assign the memo'd value with the `n`th access. * Private properties! * Fixes * Tests * Update helper name * Fix privates that reference other privates * Don't extend a builtin * Rebase
23 lines
447 B
JavaScript
23 lines
447 B
JavaScript
export default (param => {
|
|
var _props, _class, _temp;
|
|
|
|
return _temp = _class =
|
|
/*#__PURE__*/
|
|
function () {
|
|
function App() {
|
|
babelHelpers.classCallCheck(this, App);
|
|
}
|
|
|
|
babelHelpers.createClass(App, [{
|
|
key: "getParam",
|
|
value: function getParam() {
|
|
return param;
|
|
}
|
|
}]);
|
|
return App;
|
|
}(), _props = new WeakMap(), _props.set(_class, {
|
|
prop1: 'prop1',
|
|
prop2: 'prop2'
|
|
}), _temp;
|
|
});
|