index.js (610B)
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 // Updates the geometry editor's enabled state. 12 "UPDATE_GEOMETRY_EDITOR_ENABLED", 13 14 // Updates the layout state with the latest layout properties. 15 "UPDATE_LAYOUT", 16 17 // Updates the offset parent state with the new DOM node. 18 "UPDATE_OFFSET_PARENT", 19 ], 20 module.exports 21 );