index.js (703B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 "use strict"; 6 7 const { createEnum } = require("resource://devtools/client/shared/enum.js"); 8 9 createEnum( 10 [ 11 // Clears the flexbox state by resetting it back to the initial flexbox state. 12 "CLEAR_FLEXBOX", 13 14 // Updates the flexbox state with the newly selected flexbox. 15 "UPDATE_FLEXBOX", 16 17 // Updates the color used for the overlay of a flexbox. 18 "UPDATE_FLEXBOX_COLOR", 19 20 // Updates the flexbox highlighted state. 21 "UPDATE_FLEXBOX_HIGHLIGHTED", 22 ], 23 module.exports 24 );