forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove ImmediateImplementation, always use globals
Summary: We always define these globals in InitializeJavaScriptAppEngine, so the fallback mechanism here is never required as far as I can tell. Reviewed By: davidaurelio Differential Revision: D3235061 fb-gh-sync-id: 92007f87c84073e32bfa946df8ee81083f6842ec fbshipit-source-id: 92007f87c84073e32bfa946df8ee81083f6842ec
- Loading branch information
Showing
3 changed files
with
12 additions
and
227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,12 @@ | ||
/** | ||
* @generated SignedSource<<4595f3986407fd02332cf9f5fc12e70f>> | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
* | ||
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
* !! This file is a check-in of a static_upstream project! !! | ||
* !! !! | ||
* !! You should not modify this file directly. Instead: !! | ||
* !! 1) Use `fjs use-upstream` to temporarily replace this with !! | ||
* !! the latest version from upstream. !! | ||
* !! 2) Make your changes, test them, etc. !! | ||
* !! 3) Use `fjs push-upstream` to copy your changes back to !! | ||
* !! static_upstream. !! | ||
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
* This source code is licensed under the BSD-style license found in the | ||
* LICENSE file in the root directory of this source tree. An additional grant | ||
* of patent rights can be found in the PATENTS file in the same directory. | ||
* | ||
* @providesModule clearImmediate | ||
*/ | ||
|
||
module.exports = global.clearImmediate || | ||
require('ImmediateImplementation').clearImmediate; | ||
module.exports = global.clearImmediate; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,12 @@ | ||
/** | ||
* @generated SignedSource<<9715e66cd259f4d1a1c3d39c97cd0b92>> | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
* | ||
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
* !! This file is a check-in of a static_upstream project! !! | ||
* !! !! | ||
* !! You should not modify this file directly. Instead: !! | ||
* !! 1) Use `fjs use-upstream` to temporarily replace this with !! | ||
* !! the latest version from upstream. !! | ||
* !! 2) Make your changes, test them, etc. !! | ||
* !! 3) Use `fjs push-upstream` to copy your changes back to !! | ||
* !! static_upstream. !! | ||
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
* This source code is licensed under the BSD-style license found in the | ||
* LICENSE file in the root directory of this source tree. An additional grant | ||
* of patent rights can be found in the PATENTS file in the same directory. | ||
* | ||
* @providesModule setImmediate | ||
*/ | ||
|
||
module.exports = global.setImmediate || | ||
require('ImmediateImplementation').setImmediate; | ||
module.exports = global.setImmediate; |