* 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]
20 lines
667 B
JavaScript
20 lines
667 B
JavaScript
let _x$x;
|
|
|
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
|
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
|
|
function _classNameTDZError(name) { throw new Error("Class \"" + name + "\" cannot be referenced in computed property keys."); }
|
|
|
|
_x$x = {
|
|
x: (_classNameTDZError("A"), A) || 0
|
|
}.x;
|
|
|
|
let A = function A() {
|
|
"use strict";
|
|
|
|
_classCallCheck(this, A);
|
|
};
|
|
|
|
_defineProperty(A, _x$x, void 0);
|