index.js (804B)
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 // Update the list of animation. 12 "UPDATE_ANIMATIONS", 13 14 // Update visibility of detail pane. 15 "UPDATE_DETAIL_VISIBILITY", 16 17 // Update state of the picker enabled. 18 "UPDATE_ELEMENT_PICKER_ENABLED", 19 20 // Update highlighted node. 21 "UPDATE_HIGHLIGHTED_NODE", 22 23 // Update playback rate. 24 "UPDATE_PLAYBACK_RATES", 25 26 // Update selected animation. 27 "UPDATE_SELECTED_ANIMATION", 28 29 // Update sidebar size. 30 "UPDATE_SIDEBAR_SIZE", 31 ], 32 module.exports 33 );