Skip newlines around inline #__PURE__ annotations (#11133)

* Skip newlines around #__PURE__ annotations

* Update tests
This commit is contained in:
Nicolò Ribaudo
2020-02-13 19:16:33 +01:00
committed by GitHub
parent 3c6a8ae200
commit d21e2217d5
274 changed files with 382 additions and 1072 deletions

View File

@@ -12,9 +12,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
var List =
/*#__PURE__*/
function (_Array) {
var List = /*#__PURE__*/function (_Array) {
"use strict";
_inheritsLoose(List, _Array);

View File

@@ -4,9 +4,7 @@ let Array = function Array() {
babelHelpers.classCallCheck(this, Array);
};
let List =
/*#__PURE__*/
function (_Array) {
let List = /*#__PURE__*/function (_Array) {
"use strict";
babelHelpers.inherits(List, _Array);

View File

@@ -18,9 +18,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
var List =
/*#__PURE__*/
function (_Array) {
var List = /*#__PURE__*/function (_Array) {
"use strict";
_inherits(List, _Array);

View File

@@ -2,9 +2,7 @@
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
let Base =
/*#__PURE__*/
function () {
let Base = /*#__PURE__*/function () {
function Base() {}
var _proto = Base.prototype;
@@ -18,9 +16,7 @@ function () {
return Base;
}();
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inheritsLoose(Obj, _Base);
function Obj() {

View File

@@ -6,9 +6,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
let Base =
/*#__PURE__*/
function () {
let Base = /*#__PURE__*/function () {
function Base() {}
_createClass(Base, [{
@@ -28,9 +26,7 @@ function () {
return Base;
}();
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inheritsLoose(Obj, _Base);
function Obj() {

View File

@@ -4,9 +4,7 @@ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.crea
let Base = function Base() {};
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inheritsLoose(Obj, _Base);
function Obj() {

View File

@@ -6,9 +6,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
let Base =
/*#__PURE__*/
function () {
let Base = /*#__PURE__*/function () {
function Base() {}
_createClass(Base, [{
@@ -21,9 +19,7 @@ function () {
return Base;
}();
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inheritsLoose(Obj, _Base);
function Obj() {

View File

@@ -6,9 +6,7 @@ let Base = function Base() {};
Base.prototype.test = 1;
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inheritsLoose(Obj, _Base);
function Obj() {

View File

@@ -6,9 +6,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
let Base =
/*#__PURE__*/
function () {
let Base = /*#__PURE__*/function () {
function Base() {}
_createClass(Base, [{
@@ -24,9 +22,7 @@ function () {
return Base;
}();
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inheritsLoose(Obj, _Base);
function Obj() {

View File

@@ -4,9 +4,7 @@ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.crea
let Base = function Base() {};
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inheritsLoose(Obj, _Base);
function Obj() {

View File

@@ -6,9 +6,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
let Base =
/*#__PURE__*/
function () {
let Base = /*#__PURE__*/function () {
function Base() {}
_createClass(Base, [{
@@ -21,9 +19,7 @@ function () {
return Base;
}();
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inheritsLoose(Obj, _Base);
function Obj() {

View File

@@ -22,9 +22,7 @@ const proper = {
};
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inheritsLoose(Obj, _Base);
function Obj() {

View File

@@ -22,9 +22,7 @@ const proper = {
};
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inheritsLoose(Obj, _Base);
function Obj() {

View File

@@ -10,9 +10,7 @@ Object.defineProperty(Base.prototype, 'test', {
configurable: true
});
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inheritsLoose(Obj, _Base);
function Obj() {

View File

@@ -8,9 +8,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
let called = false;
let Base =
/*#__PURE__*/
function () {
let Base = /*#__PURE__*/function () {
function Base() {}
_createClass(Base, [{
@@ -26,9 +24,7 @@ function () {
;
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inheritsLoose(Obj, _Base);
function Obj() {

View File

@@ -4,9 +4,7 @@ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.crea
let Base = function Base() {};
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inheritsLoose(Obj, _Base);
function Obj() {

View File

@@ -10,9 +10,7 @@ let Base = function Base() {};
let called = false;
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inheritsLoose(Obj, _Base);
function Obj() {

View File

@@ -4,9 +4,7 @@ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.crea
let Base = function Base() {};
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inheritsLoose(Obj, _Base);
function Obj() {

View File

@@ -10,9 +10,7 @@ let Base = function Base() {};
let value = 2;
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inheritsLoose(Obj, _Base);
function Obj() {

View File

@@ -8,9 +8,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
let value = 1;
let Base =
/*#__PURE__*/
function () {
let Base = /*#__PURE__*/function () {
function Base() {}
_createClass(Base, [{
@@ -23,9 +21,7 @@ function () {
return Base;
}();
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inheritsLoose(Obj, _Base);
function Obj() {

View File

@@ -20,9 +20,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
let Base =
/*#__PURE__*/
function () {
let Base = /*#__PURE__*/function () {
function Base() {
_classCallCheck(this, Base);
}
@@ -39,9 +37,7 @@ function () {
return Base;
}();
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inherits(Obj, _Base);
function Obj() {

View File

@@ -20,9 +20,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
let Base =
/*#__PURE__*/
function () {
let Base = /*#__PURE__*/function () {
function Base() {
_classCallCheck(this, Base);
}
@@ -42,9 +40,7 @@ function () {
return Base;
}();
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inherits(Obj, _Base);
function Obj() {

View File

@@ -24,9 +24,7 @@ let Base = function Base() {
_classCallCheck(this, Base);
};
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inherits(Obj, _Base);
function Obj() {

View File

@@ -20,9 +20,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
let Base =
/*#__PURE__*/
function () {
let Base = /*#__PURE__*/function () {
function Base() {
_classCallCheck(this, Base);
}
@@ -37,9 +35,7 @@ function () {
return Base;
}();
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inherits(Obj, _Base);
function Obj() {

View File

@@ -26,9 +26,7 @@ let Base = function Base() {
Base.prototype.test = 1;
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inherits(Obj, _Base);
function Obj() {

View File

@@ -20,9 +20,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
let Base =
/*#__PURE__*/
function () {
let Base = /*#__PURE__*/function () {
function Base() {
_classCallCheck(this, Base);
}
@@ -38,9 +36,7 @@ function () {
return Base;
}();
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inherits(Obj, _Base);
function Obj() {

View File

@@ -24,9 +24,7 @@ let Base = function Base() {
_classCallCheck(this, Base);
};
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inherits(Obj, _Base);
function Obj() {

View File

@@ -20,9 +20,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
let Base =
/*#__PURE__*/
function () {
let Base = /*#__PURE__*/function () {
function Base() {
_classCallCheck(this, Base);
}
@@ -37,9 +35,7 @@ function () {
return Base;
}();
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inherits(Obj, _Base);
function Obj() {

View File

@@ -48,9 +48,7 @@ const proper = {
};
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inherits(Obj, _Base);
function Obj() {

View File

@@ -48,9 +48,7 @@ const proper = {
};
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inherits(Obj, _Base);
function Obj() {

View File

@@ -34,9 +34,7 @@ Object.defineProperty(Base.prototype, 'test', {
configurable: true
});
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inherits(Obj, _Base);
function Obj() {

View File

@@ -24,9 +24,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
let Base =
/*#__PURE__*/
function () {
let Base = /*#__PURE__*/function () {
function Base() {
_classCallCheck(this, Base);
}
@@ -43,9 +41,7 @@ function () {
;
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inherits(Obj, _Base);
function Obj() {

View File

@@ -28,9 +28,7 @@ let Base = function Base() {
_classCallCheck(this, Base);
};
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inherits(Obj, _Base);
function Obj() {

View File

@@ -28,9 +28,7 @@ let Base = function Base() {
_classCallCheck(this, Base);
};
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inherits(Obj, _Base);
function Obj() {

View File

@@ -28,9 +28,7 @@ let Base = function Base() {
_classCallCheck(this, Base);
};
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inherits(Obj, _Base);
function Obj() {

View File

@@ -30,9 +30,7 @@ let Base = function Base() {
let value = 2;
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inherits(Obj, _Base);
function Obj() {

View File

@@ -26,9 +26,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
let value = 1;
let Base =
/*#__PURE__*/
function () {
let Base = /*#__PURE__*/function () {
function Base() {
_classCallCheck(this, Base);
}
@@ -43,9 +41,7 @@ function () {
return Base;
}();
let Obj =
/*#__PURE__*/
function (_Base) {
let Obj = /*#__PURE__*/function (_Base) {
_inherits(Obj, _Base);
function Obj() {

View File

@@ -4,9 +4,7 @@ let A = function A() {
console.log('a');
};
let B =
/*#__PURE__*/
function () {
let B = /*#__PURE__*/function () {
"use strict";
function B() {}

View File

@@ -6,9 +6,7 @@ let B = function B() {
"use strict";
};
let A =
/*#__PURE__*/
function (_B) {
let A = /*#__PURE__*/function (_B) {
"use strict";
_inheritsLoose(A, _B);

View File

@@ -1,6 +1,4 @@
var Test =
/*#__PURE__*/
function (_Foo) {
var Test = /*#__PURE__*/function (_Foo) {
"use strict";
babelHelpers.inheritsLoose(Test, _Foo);

View File

@@ -1,6 +1,4 @@
var Test =
/*#__PURE__*/
function (_Foo) {
var Test = /*#__PURE__*/function (_Foo) {
"use strict";
babelHelpers.inheritsLoose(Test, _Foo);

View File

@@ -1,9 +1,7 @@
function t() {
"use strict";
var Foo =
/*#__PURE__*/
function () {
var Foo = /*#__PURE__*/function () {
function Foo() {}
var _proto = Foo.prototype;

View File

@@ -1,6 +1,4 @@
var Test =
/*#__PURE__*/
function (_Foo) {
var Test = /*#__PURE__*/function (_Foo) {
"use strict";
babelHelpers.inheritsLoose(Test, _Foo);

View File

@@ -1,6 +1,4 @@
var x =
/*#__PURE__*/
function () {
var x = /*#__PURE__*/function () {
"use strict";
var _proto = x.prototype;

View File

@@ -1,6 +1,4 @@
var Test =
/*#__PURE__*/
function () {
var Test = /*#__PURE__*/function () {
"use strict";
function Test() {

View File

@@ -1,6 +1,4 @@
var Foo =
/*#__PURE__*/
function (_Bar) {
var Foo = /*#__PURE__*/function (_Bar) {
"use strict";
babelHelpers.inheritsLoose(Foo, _Bar);

View File

@@ -1,6 +1,4 @@
var Child =
/*#__PURE__*/
function (_Base) {
var Child = /*#__PURE__*/function (_Base) {
"use strict";
babelHelpers.inheritsLoose(Child, _Base);

View File

@@ -1,6 +1,4 @@
var Child =
/*#__PURE__*/
function (_Base) {
var Child = /*#__PURE__*/function (_Base) {
"use strict";
babelHelpers.inheritsLoose(Child, _Base);

View File

@@ -1,6 +1,4 @@
var Foo =
/*#__PURE__*/
function () {
var Foo = /*#__PURE__*/function () {
"use strict";
function Foo() {}

View File

@@ -1,7 +1,5 @@
// @flow
var C =
/*#__PURE__*/
function () {
var C = /*#__PURE__*/function () {
"use strict";
function C() {}

View File

@@ -1,6 +1,4 @@
var Test =
/*#__PURE__*/
function () {
var Test = /*#__PURE__*/function () {
"use strict";
function Test() {}

View File

@@ -1,8 +1,6 @@
"use strict";
var Foo =
/*#__PURE__*/
function () {
var Foo = /*#__PURE__*/function () {
function Foo() {}
var _proto = Foo.prototype;

View File

@@ -1,6 +1,4 @@
var BaseController =
/*#__PURE__*/
function (_Chaplin$Controller) {
var BaseController = /*#__PURE__*/function (_Chaplin$Controller) {
"use strict";
babelHelpers.inheritsLoose(BaseController, _Chaplin$Controller);
@@ -12,9 +10,7 @@ function (_Chaplin$Controller) {
return BaseController;
}(Chaplin.Controller);
var BaseController2 =
/*#__PURE__*/
function (_Chaplin$Controller$A) {
var BaseController2 = /*#__PURE__*/function (_Chaplin$Controller$A) {
"use strict";
babelHelpers.inheritsLoose(BaseController2, _Chaplin$Controller$A);

View File

@@ -1,6 +1,4 @@
var Test =
/*#__PURE__*/
function (_Foo) {
var Test = /*#__PURE__*/function (_Foo) {
"use strict";
babelHelpers.inheritsLoose(Test, _Foo);

View File

@@ -1,6 +1,4 @@
var Foo =
/*#__PURE__*/
function () {
var Foo = /*#__PURE__*/function () {
"use strict";
function Foo() {}

View File

@@ -1,6 +1,4 @@
var Foo =
/*#__PURE__*/
function () {
var Foo = /*#__PURE__*/function () {
"use strict";
function Foo() {}

View File

@@ -1,6 +1,4 @@
var Foo =
/*#__PURE__*/
function () {
var Foo = /*#__PURE__*/function () {
"use strict";
function Foo() {}

View File

@@ -1,6 +1,4 @@
var Foo =
/*#__PURE__*/
function () {
var Foo = /*#__PURE__*/function () {
"use strict";
function Foo() {}

View File

@@ -12,9 +12,7 @@ var _events = require("events");
var _binarySerializer = babelHelpers.interopRequireDefault(require("./helpers/binary-serializer"));
// import ...
var Connection =
/*#__PURE__*/
function (_EventEmitter) {
var Connection = /*#__PURE__*/function (_EventEmitter) {
babelHelpers.inherits(Connection, _EventEmitter);
function Connection(endpoint, joinKey, joinData, roomId) {

View File

@@ -7,9 +7,7 @@ exports["default"] = void 0;
var _BaseFoo2 = babelHelpers.interopRequireDefault(require("./BaseFoo"));
var SubFoo =
/*#__PURE__*/
function (_BaseFoo) {
var SubFoo = /*#__PURE__*/function (_BaseFoo) {
babelHelpers.inherits(SubFoo, _BaseFoo);
function SubFoo() {

View File

@@ -7,9 +7,7 @@ exports["default"] = void 0;
var _react = babelHelpers.interopRequireDefault(require("react"));
var RandomComponent =
/*#__PURE__*/
function (_Component) {
var RandomComponent = /*#__PURE__*/function (_Component) {
babelHelpers.inherits(RandomComponent, _Component);
function RandomComponent() {

View File

@@ -9,9 +9,7 @@ var b = function b() {
babelHelpers.classCallCheck(this, b);
};
var a1 =
/*#__PURE__*/
function (_b) {
var a1 = /*#__PURE__*/function (_b) {
babelHelpers.inherits(a1, _b);
function a1() {
@@ -30,9 +28,7 @@ function (_b) {
return a1;
}(b);
var a2 =
/*#__PURE__*/
function (_b2) {
var a2 = /*#__PURE__*/function (_b2) {
babelHelpers.inherits(a2, _b2);
function a2() {

View File

@@ -1,6 +1,4 @@
var Point =
/*#__PURE__*/
function () {
var Point = /*#__PURE__*/function () {
"use strict";
function Point() {
@@ -16,9 +14,7 @@ function () {
return Point;
}();
var ColorPoint =
/*#__PURE__*/
function (_Point) {
var ColorPoint = /*#__PURE__*/function (_Point) {
"use strict";
babelHelpers.inherits(ColorPoint, _Point);

View File

@@ -1,6 +1,4 @@
var A =
/*#__PURE__*/
function (_B) {
var A = /*#__PURE__*/function (_B) {
"use strict";
babelHelpers.inherits(A, _B);

View File

@@ -9,9 +9,7 @@ this.HTMLElement = function () {
var constructor;
var CustomElement =
/*#__PURE__*/
function (_HTMLElement) {
var CustomElement = /*#__PURE__*/function (_HTMLElement) {
"use strict";
babelHelpers.inherits(CustomElement, _HTMLElement);

View File

@@ -1,7 +1,5 @@
var x = {
Foo:
/*#__PURE__*/
function (_Foo) {
Foo: /*#__PURE__*/function (_Foo) {
"use strict";
babelHelpers.inherits(_class, _Foo);

View File

@@ -4,9 +4,7 @@ var A = function A() {
babelHelpers.classCallCheck(this, A);
};
var B =
/*#__PURE__*/
function (_A) {
var B = /*#__PURE__*/function (_A) {
"use strict";
babelHelpers.inherits(B, _A);

View File

@@ -1,6 +1,4 @@
var A =
/*#__PURE__*/
function () {
var A = /*#__PURE__*/function () {
"use strict";
function A() {

View File

@@ -6,9 +6,7 @@ Object.defineProperty(exports, "__esModule", {
exports["default"] = _default;
function _default() {
return (
/*#__PURE__*/
function () {
return (/*#__PURE__*/function () {
function Select() {
babelHelpers.classCallCheck(this, Select);
}

View File

@@ -2,21 +2,15 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
var Example =
/*#__PURE__*/
function () {
var Example = /*#__PURE__*/function () {
"use strict";
function Example() {}
var _proto = Example.prototype;
_proto.test1 =
/*#__PURE__*/
function () {
var _test = _asyncToGenerator(
/*#__PURE__*/
regeneratorRuntime.mark(function _callee() {
_proto.test1 = /*#__PURE__*/function () {
var _test = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
return regeneratorRuntime.wrap(function _callee$(_context) {
while (1) {
switch (_context.prev = _context.next) {
@@ -39,9 +33,7 @@ function () {
return test1;
}();
_proto.test2 =
/*#__PURE__*/
regeneratorRuntime.mark(function test2() {
_proto.test2 = /*#__PURE__*/regeneratorRuntime.mark(function test2() {
return regeneratorRuntime.wrap(function test2$(_context2) {
while (1) {
switch (_context2.prev = _context2.next) {

View File

@@ -1,6 +1,4 @@
var Foo =
/*#__PURE__*/
function () {
var Foo = /*#__PURE__*/function () {
"use strict";
function Foo(val) {

View File

@@ -18,9 +18,7 @@ var B = function B() {
_classCallCheck(this, B);
};
var A =
/*#__PURE__*/
function (_B) {
var A = /*#__PURE__*/function (_B) {
"use strict";
_inherits(A, _B);

View File

@@ -1,6 +1,4 @@
var Test =
/*#__PURE__*/
function (_Foo) {
var Test = /*#__PURE__*/function (_Foo) {
"use strict";
babelHelpers.inherits(Test, _Foo);

View File

@@ -1,6 +1,4 @@
var Test =
/*#__PURE__*/
function (_Foo) {
var Test = /*#__PURE__*/function (_Foo) {
"use strict";
babelHelpers.inherits(Test, _Foo);

View File

@@ -1,6 +1,4 @@
var Test =
/*#__PURE__*/
function (_Foo) {
var Test = /*#__PURE__*/function (_Foo) {
"use strict";
babelHelpers.inherits(Test, _Foo);

View File

@@ -1,6 +1,4 @@
var Foo =
/*#__PURE__*/
function () {
var Foo = /*#__PURE__*/function () {
"use strict";
function Foo() {

View File

@@ -5,9 +5,7 @@ var Test = function Test() {
this.state = "test";
};
var Foo =
/*#__PURE__*/
function (_Bar) {
var Foo = /*#__PURE__*/function (_Bar) {
"use strict";
babelHelpers.inherits(Foo, _Bar);

View File

@@ -1,6 +1,4 @@
var Test =
/*#__PURE__*/
function () {
var Test = /*#__PURE__*/function () {
"use strict";
function Test() {

View File

@@ -1,6 +1,4 @@
var Foo =
/*#__PURE__*/
function (_Bar) {
var Foo = /*#__PURE__*/function (_Bar) {
"use strict";
babelHelpers.inherits(Foo, _Bar);

View File

@@ -1,6 +1,4 @@
var Foo =
/*#__PURE__*/
function (_Bar) {
var Foo = /*#__PURE__*/function (_Bar) {
"use strict";
babelHelpers.inherits(Foo, _Bar);

View File

@@ -1,6 +1,4 @@
var Foo =
/*#__PURE__*/
function (_Bar) {
var Foo = /*#__PURE__*/function (_Bar) {
"use strict";
babelHelpers.inherits(Foo, _Bar);

View File

@@ -1,6 +1,4 @@
var Foo =
/*#__PURE__*/
function (_Bar) {
var Foo = /*#__PURE__*/function (_Bar) {
"use strict";
babelHelpers.inherits(Foo, _Bar);

View File

@@ -1,6 +1,4 @@
var Foo =
/*#__PURE__*/
function (_Bar) {
var Foo = /*#__PURE__*/function (_Bar) {
"use strict";
babelHelpers.inherits(Foo, _Bar);

View File

@@ -1,6 +1,4 @@
var Child =
/*#__PURE__*/
function (_Base) {
var Child = /*#__PURE__*/function (_Base) {
"use strict";
babelHelpers.inherits(Child, _Base);

View File

@@ -1,6 +1,4 @@
var Child =
/*#__PURE__*/
function (_Base) {
var Child = /*#__PURE__*/function (_Base) {
"use strict";
babelHelpers.inherits(Child, _Base);

View File

@@ -1,6 +1,4 @@
var _default =
/*#__PURE__*/
function (_A) {
var _default = /*#__PURE__*/function (_A) {
babelHelpers.inherits(_default, _A);
function _default() {

View File

@@ -1,6 +1,4 @@
var Test =
/*#__PURE__*/
function () {
var Test = /*#__PURE__*/function () {
"use strict";
function Test() {

View File

@@ -1,6 +1,4 @@
var Test =
/*#__PURE__*/
function () {
var Test = /*#__PURE__*/function () {
"use strict";
function Test() {

View File

@@ -1,6 +1,4 @@
var Test =
/*#__PURE__*/
function () {
var Test = /*#__PURE__*/function () {
"use strict";
function Test() {

View File

@@ -1,6 +1,4 @@
var Test =
/*#__PURE__*/
function () {
var Test = /*#__PURE__*/function () {
"use strict";
function Test() {

View File

@@ -1,7 +1,5 @@
// @flow
var C =
/*#__PURE__*/
function () {
var C = /*#__PURE__*/function () {
"use strict";
function C() {

View File

@@ -2,9 +2,7 @@
var _a2 = require("./a");
var Foo =
/*#__PURE__*/
function () {
var Foo = /*#__PURE__*/function () {
function Foo() {
babelHelpers.classCallCheck(this, Foo);
}

View File

@@ -10,9 +10,7 @@ var Hello = function Hello() {
};
};
var Outer =
/*#__PURE__*/
function (_Hello) {
var Outer = /*#__PURE__*/function (_Hello) {
babelHelpers.inherits(Outer, _Hello);
function Outer() {
@@ -22,9 +20,7 @@ function (_Hello) {
babelHelpers.classCallCheck(this, Outer);
var Inner =
/*#__PURE__*/
function () {
var Inner = /*#__PURE__*/function () {
function Inner() {
babelHelpers.classCallCheck(this, Inner);
}

View File

@@ -1,8 +1,6 @@
"use strict";
var Hello =
/*#__PURE__*/
function () {
var Hello = /*#__PURE__*/function () {
function Hello() {
babelHelpers.classCallCheck(this, Hello);
}
@@ -16,9 +14,7 @@ function () {
return Hello;
}();
var Outer =
/*#__PURE__*/
function (_Hello) {
var Outer = /*#__PURE__*/function (_Hello) {
babelHelpers.inherits(Outer, _Hello);
function Outer() {
@@ -27,9 +23,7 @@ function (_Hello) {
babelHelpers.classCallCheck(this, Outer);
_this = babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Outer).call(this));
var Inner =
/*#__PURE__*/
function () {
var Inner = /*#__PURE__*/function () {
function Inner() {
babelHelpers.classCallCheck(this, Inner);
}

View File

@@ -10,9 +10,7 @@ var Hello = function Hello() {
};
};
var Outer =
/*#__PURE__*/
function (_Hello) {
var Outer = /*#__PURE__*/function (_Hello) {
babelHelpers.inherits(Outer, _Hello);
function Outer() {

View File

@@ -1,8 +1,6 @@
"use strict";
var Hello =
/*#__PURE__*/
function () {
var Hello = /*#__PURE__*/function () {
function Hello() {
babelHelpers.classCallCheck(this, Hello);
}
@@ -16,9 +14,7 @@ function () {
return Hello;
}();
var Outer =
/*#__PURE__*/
function (_Hello) {
var Outer = /*#__PURE__*/function (_Hello) {
babelHelpers.inherits(Outer, _Hello);
function Outer() {

View File

@@ -1,7 +1,5 @@
// #1649
var Foo =
/*#__PURE__*/
function () {
var Foo = /*#__PURE__*/function () {
"use strict";
function Foo() {

View File

@@ -12,9 +12,7 @@ var BaseView = function BaseView() {
this.autoRender = true;
};
var BaseView =
/*#__PURE__*/
function () {
var BaseView = /*#__PURE__*/function () {
"use strict";
function BaseView() {

View File

@@ -1,6 +1,4 @@
var A =
/*#__PURE__*/
function () {
var A = /*#__PURE__*/function () {
"use strict";
function A() {

View File

@@ -1,6 +1,4 @@
var TestEmpty =
/*#__PURE__*/
function (_ref) {
var TestEmpty = /*#__PURE__*/function (_ref) {
"use strict";
babelHelpers.inherits(TestEmpty, _ref);
@@ -11,9 +9,7 @@ function (_ref) {
}
return TestEmpty;
}(
/*#__PURE__*/
function () {
}( /*#__PURE__*/function () {
"use strict";
function _class() {
@@ -23,9 +19,7 @@ function () {
return _class;
}());
var TestConstructorOnly =
/*#__PURE__*/
function (_ref2) {
var TestConstructorOnly = /*#__PURE__*/function (_ref2) {
"use strict";
babelHelpers.inherits(TestConstructorOnly, _ref2);
@@ -36,9 +30,7 @@ function (_ref2) {
}
return TestConstructorOnly;
}(
/*#__PURE__*/
function () {
}( /*#__PURE__*/function () {
"use strict";
function _class2() {
@@ -48,9 +40,7 @@ function () {
return _class2;
}());
var TestMethodOnly =
/*#__PURE__*/
function (_ref3) {
var TestMethodOnly = /*#__PURE__*/function (_ref3) {
"use strict";
babelHelpers.inherits(TestMethodOnly, _ref3);
@@ -61,9 +51,7 @@ function (_ref3) {
}
return TestMethodOnly;
}(
/*#__PURE__*/
function () {
}( /*#__PURE__*/function () {
"use strict";
function _class3() {
@@ -77,9 +65,7 @@ function () {
return _class3;
}());
var TestConstructorAndMethod =
/*#__PURE__*/
function (_ref4) {
var TestConstructorAndMethod = /*#__PURE__*/function (_ref4) {
"use strict";
babelHelpers.inherits(TestConstructorAndMethod, _ref4);
@@ -90,9 +76,7 @@ function (_ref4) {
}
return TestConstructorAndMethod;
}(
/*#__PURE__*/
function () {
}( /*#__PURE__*/function () {
"use strict";
function _class4() {
@@ -106,9 +90,7 @@ function () {
return _class4;
}());
var TestMultipleMethods =
/*#__PURE__*/
function (_ref5) {
var TestMultipleMethods = /*#__PURE__*/function (_ref5) {
"use strict";
babelHelpers.inherits(TestMultipleMethods, _ref5);
@@ -119,9 +101,7 @@ function (_ref5) {
}
return TestMultipleMethods;
}(
/*#__PURE__*/
function () {
}( /*#__PURE__*/function () {
"use strict";
function _class5() {

Some files were not shown because too many files have changed in this diff Show More