Tan Li Hau b4c9cb0222 Fixed computed keys for class expression (#10029)
* test case for insertBefore for jsx

* fix unshiftContainer and insertBefore

* use path.scope.push

* add test making sure computedKeys var declaration at the right block

* add comment

* nit [skip ci]
2019-05-28 23:07:55 +02:00

19 lines
297 B
JavaScript

var createClass = k => {
var _temp;
var _k;
return _temp = (_k = k(),
/*#__PURE__*/
function () {
"use strict";
function _class2() {
babelHelpers.classCallCheck(this, _class2);
babelHelpers.defineProperty(this, _k, 2);
}
return _class2;
}()), _temp;
};