Skip to content

Commit

Permalink
Remove ImmediateImplementation, always use globals
Browse files Browse the repository at this point in the history
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
javache authored and Facebook Github Bot 7 committed Apr 28, 2016
1 parent c7eb47f commit b2c8281
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 227 deletions.
19 changes: 6 additions & 13 deletions Libraries/vendor/core/clearImmediate.js
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;
201 changes: 0 additions & 201 deletions Libraries/vendor/core/immediate/setImmediate.js

This file was deleted.

19 changes: 6 additions & 13 deletions Libraries/vendor/core/setImmediate.js
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;

0 comments on commit b2c8281

Please sign in to comment.