tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

changes.js (524B)


      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 {
      8  RESET_CHANGES,
      9  TRACK_CHANGE,
     10 } = require("resource://devtools/client/inspector/changes/actions/index.js");
     11 
     12 module.exports = {
     13  resetChanges() {
     14    return {
     15      type: RESET_CHANGES,
     16    };
     17  },
     18 
     19  trackChange(change) {
     20    return {
     21      type: TRACK_CHANGE,
     22      change,
     23    };
     24  },
     25 };