Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
Adding lazyObjectsRuntime option to the Prepack Website
Browse files Browse the repository at this point in the history
Summary:
This addresses the issue #1282 although the issue also requests for --additionalFunctions option which is not part of this commit. User should now be able to see --lazyObjectsRuntime option in the options list on https://prepack.io/repl.html. Ideally this should be an enum but this will accept a freeform string in this revision.
Closes #1475

Differential Revision: D7059756

Pulled By: phanipattapu

fbshipit-source-id: 588f688a52e81d065cf19ac1fbd358a9332b81a0
  • Loading branch information
Phani Pattapu authored and facebook-github-bot committed Feb 22, 2018
1 parent b24de95 commit 2afe2c5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions website/js/repl.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ var optionsConfig = [
defaultVal: "browser",
description: "The target environment for Prepack"
},
{
type: "string",
name: "lazyObjectsRuntime",
defaultVal: "",
description: "Enable lazy objects feature and specify the JS runtime that supports this feature."
},
{
type: "boolean",
name: "omitInvariants",
Expand Down

0 comments on commit 2afe2c5

Please sign in to comment.