From 5bf3476133f6b5320ddc544d4e0339ed26315e93 Mon Sep 17 00:00:00 2001 From: Peter van der Zee Date: Wed, 27 Jun 2018 03:22:49 -0700 Subject: [PATCH] Upgrade Prettier to 1.13.6 on fbsource Reviewed By: zertosh Differential Revision: D8638504 fbshipit-source-id: c6991b2e884e14868ddc1d9047a78191219d673f --- Libraries/Components/Touchable/Touchable.js | 4 ++-- Libraries/vendor/core/whatwg-fetch.js | 14 +++++++------- package.json | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Libraries/Components/Touchable/Touchable.js b/Libraries/Components/Touchable/Touchable.js index 6a8fa3cb5..3f1874c8a 100644 --- a/Libraries/Components/Touchable/Touchable.js +++ b/Libraries/Components/Touchable/Touchable.js @@ -533,7 +533,7 @@ const TouchableMixin = { * focused at a time, in which case there may have been a previously focused * element that was blurred just prior to this. */ - touchableHandleFocus: function (e: Event) { + touchableHandleFocus: function(e: Event) { this.props.onFocus && this.props.onFocus(e); }, @@ -543,7 +543,7 @@ const TouchableMixin = { * no longer has focus. Most platforms only support a single element being * focused at a time, in which case the focus may have moved to another. */ - touchableHandleBlur: function (e: Event) { + touchableHandleBlur: function(e: Event) { this.props.onBlur && this.props.onBlur(e); }, diff --git a/Libraries/vendor/core/whatwg-fetch.js b/Libraries/vendor/core/whatwg-fetch.js index cdfa4fc69..febc54dac 100644 --- a/Libraries/vendor/core/whatwg-fetch.js +++ b/Libraries/vendor/core/whatwg-fetch.js @@ -1,11 +1,11 @@ /** -* Copyright (c) 2015-present, Facebook, Inc. -* -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. -* -* @format -*/ + * Copyright (c) 2015-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + * + * @format + */ // Fork of https://github.com/github/fetch/blob/master/fetch.js that does not // use reponseType: 'blob' by default. RN already has specific native implementations diff --git a/package.json b/package.json index c8be7a8d0..61bebba34 100644 --- a/package.json +++ b/package.json @@ -215,7 +215,7 @@ "flow-bin": "^0.75.0", "jest": "23.1.0", "jest-junit": "4.0.0", - "prettier": "1.13.4", + "prettier": "1.13.6", "react": "16.4.1", "react-test-renderer": "16.4.1", "shelljs": "^0.7.8",