-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This reverts commit 107adad.
- Loading branch information
Showing
8 changed files
with
198 additions
and
65 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/** | ||
* @fileoverview | ||
* Access point for private method shared between blocks.js and execute.js for | ||
* caching execute information. | ||
*/ | ||
|
||
/** | ||
* A private method shared with execute to build an object containing the block | ||
* information execute needs and that is reset when other cached Blocks info is | ||
* reset. | ||
* @param {Blocks} blocks Blocks containing the expected blockId | ||
* @param {string} blockId blockId for the desired execute cache | ||
*/ | ||
exports.getCached = function () { | ||
throw new Error('blocks.js has not initialized BlocksExecuteCache'); | ||
}; | ||
|
||
// Call after the default throwing getCached is assigned for Blocks to replace. | ||
require('./blocks'); |
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
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
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
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
Oops, something went wrong.