Hardcode to double quotes, indent to 2 spaces (#5824)
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
"use strict";
|
||||
|
||||
var Child = function (_Parent) {
|
||||
babelHelpers.inherits(Child, _Parent);
|
||||
babelHelpers.inherits(Child, _Parent);
|
||||
|
||||
function Child() {
|
||||
babelHelpers.classCallCheck(this, Child);
|
||||
function Child() {
|
||||
babelHelpers.classCallCheck(this, Child);
|
||||
|
||||
var _this = babelHelpers.possibleConstructorReturn(this, (Child.__proto__ || Object.getPrototypeOf(Child)).call(this));
|
||||
var _this = babelHelpers.possibleConstructorReturn(this, (Child.__proto__ || Object.getPrototypeOf(Child)).call(this));
|
||||
|
||||
_this.scopedFunctionWithThis = function () {
|
||||
_this.name = {};
|
||||
};
|
||||
_this.scopedFunctionWithThis = function () {
|
||||
_this.name = {};
|
||||
};
|
||||
|
||||
return _this;
|
||||
}
|
||||
return _this;
|
||||
}
|
||||
|
||||
return Child;
|
||||
}(Parent);
|
||||
return Child;
|
||||
}(Parent);
|
||||
@@ -7,7 +7,7 @@ export default (param => {
|
||||
}
|
||||
|
||||
babelHelpers.createClass(App, [{
|
||||
key: 'getParam',
|
||||
key: "getParam",
|
||||
value: function getParam() {
|
||||
return param;
|
||||
}
|
||||
@@ -17,4 +17,4 @@ export default (param => {
|
||||
prop1: 'prop1',
|
||||
prop2: 'prop2'
|
||||
}, _temp;
|
||||
});
|
||||
});
|
||||
@@ -1,20 +1,20 @@
|
||||
function withContext(ComposedComponent) {
|
||||
var _class, _temp;
|
||||
var _class, _temp;
|
||||
|
||||
return _temp = _class = function (_Component) {
|
||||
babelHelpers.inherits(WithContext, _Component);
|
||||
return _temp = _class = function (_Component) {
|
||||
babelHelpers.inherits(WithContext, _Component);
|
||||
|
||||
function WithContext() {
|
||||
babelHelpers.classCallCheck(this, WithContext);
|
||||
return babelHelpers.possibleConstructorReturn(this, (WithContext.__proto__ || Object.getPrototypeOf(WithContext)).apply(this, arguments));
|
||||
}
|
||||
function WithContext() {
|
||||
babelHelpers.classCallCheck(this, WithContext);
|
||||
return babelHelpers.possibleConstructorReturn(this, (WithContext.__proto__ || Object.getPrototypeOf(WithContext)).apply(this, arguments));
|
||||
}
|
||||
|
||||
return WithContext;
|
||||
}(Component), _class.propTypes = {
|
||||
context: PropTypes.shape({
|
||||
addCss: PropTypes.func,
|
||||
setTitle: PropTypes.func,
|
||||
setMeta: PropTypes.func
|
||||
})
|
||||
}, _temp;
|
||||
}
|
||||
return WithContext;
|
||||
}(Component), _class.propTypes = {
|
||||
context: PropTypes.shape({
|
||||
addCss: PropTypes.func,
|
||||
setTitle: PropTypes.func,
|
||||
setMeta: PropTypes.func
|
||||
})
|
||||
}, _temp;
|
||||
}
|
||||
@@ -1,22 +1,22 @@
|
||||
"use strict";
|
||||
|
||||
var Child = function (_Parent) {
|
||||
babelHelpers.inherits(Child, _Parent);
|
||||
babelHelpers.inherits(Child, _Parent);
|
||||
|
||||
function Child() {
|
||||
babelHelpers.classCallCheck(this, Child);
|
||||
function Child() {
|
||||
babelHelpers.classCallCheck(this, Child);
|
||||
|
||||
var _this = babelHelpers.possibleConstructorReturn(this, (Child.__proto__ || Object.getPrototypeOf(Child)).call(this));
|
||||
var _this = babelHelpers.possibleConstructorReturn(this, (Child.__proto__ || Object.getPrototypeOf(Child)).call(this));
|
||||
|
||||
Object.defineProperty(_this, "scopedFunctionWithThis", {
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
value: function value() {
|
||||
_this.name = {};
|
||||
}
|
||||
});
|
||||
return _this;
|
||||
}
|
||||
Object.defineProperty(_this, "scopedFunctionWithThis", {
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
value: function value() {
|
||||
_this.name = {};
|
||||
}
|
||||
});
|
||||
return _this;
|
||||
}
|
||||
|
||||
return Child;
|
||||
}(Parent);
|
||||
return Child;
|
||||
}(Parent);
|
||||
@@ -7,13 +7,13 @@ export default (param => {
|
||||
}
|
||||
|
||||
babelHelpers.createClass(App, [{
|
||||
key: 'getParam',
|
||||
key: "getParam",
|
||||
value: function getParam() {
|
||||
return param;
|
||||
}
|
||||
}]);
|
||||
return App;
|
||||
}(), Object.defineProperty(_class, 'props', {
|
||||
}(), Object.defineProperty(_class, "props", {
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
value: {
|
||||
@@ -21,4 +21,4 @@ export default (param => {
|
||||
prop2: 'prop2'
|
||||
}
|
||||
}), _temp;
|
||||
});
|
||||
});
|
||||
@@ -1,24 +1,24 @@
|
||||
function withContext(ComposedComponent) {
|
||||
var _class, _temp;
|
||||
var _class, _temp;
|
||||
|
||||
return _temp = _class = function (_Component) {
|
||||
babelHelpers.inherits(WithContext, _Component);
|
||||
return _temp = _class = function (_Component) {
|
||||
babelHelpers.inherits(WithContext, _Component);
|
||||
|
||||
function WithContext() {
|
||||
babelHelpers.classCallCheck(this, WithContext);
|
||||
return babelHelpers.possibleConstructorReturn(this, (WithContext.__proto__ || Object.getPrototypeOf(WithContext)).apply(this, arguments));
|
||||
}
|
||||
function WithContext() {
|
||||
babelHelpers.classCallCheck(this, WithContext);
|
||||
return babelHelpers.possibleConstructorReturn(this, (WithContext.__proto__ || Object.getPrototypeOf(WithContext)).apply(this, arguments));
|
||||
}
|
||||
|
||||
return WithContext;
|
||||
}(Component), Object.defineProperty(_class, "propTypes", {
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
value: {
|
||||
context: PropTypes.shape({
|
||||
addCss: PropTypes.func,
|
||||
setTitle: PropTypes.func,
|
||||
setMeta: PropTypes.func
|
||||
})
|
||||
}
|
||||
}), _temp;
|
||||
}
|
||||
return WithContext;
|
||||
}(Component), Object.defineProperty(_class, "propTypes", {
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
value: {
|
||||
context: PropTypes.shape({
|
||||
addCss: PropTypes.func,
|
||||
setTitle: PropTypes.func,
|
||||
setMeta: PropTypes.func
|
||||
})
|
||||
}
|
||||
}), _temp;
|
||||
}
|
||||
Reference in New Issue
Block a user