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

Move DraftFeatureFlags to stubs #1278

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions src/component/utils/DraftFeatureFlags-core.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* 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 DraftFeatureFlags-core
* @flow
*/

'use strict';

var DraftFeatureFlags = {
draft_accept_selection_after_refocus: false,
draft_killswitch_allow_nontextnodes: false,
draft_segmented_entities_behavior: false,
};

module.exports = DraftFeatureFlags;
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@

'use strict';

var DraftFeatureFlags = {
draft_killswitch_allow_nontextnodes: false,
draft_segmented_entities_behavior: false,
};
var DraftFeatureFlags = require('DraftFeatureFlags-core');

module.exports = DraftFeatureFlags;