Blame devtools/client/responsive.html/actions/touch-simulation.js

Packit f0b94e
/* This Source Code Form is subject to the terms of the Mozilla Public
Packit f0b94e
 * License, v. 2.0. If a copy of the MPL was not distributed with this
Packit f0b94e
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
Packit f0b94e
Packit f0b94e
/* eslint-env browser */
Packit f0b94e
Packit f0b94e
"use strict";
Packit f0b94e
Packit f0b94e
const {
Packit f0b94e
  CHANGE_TOUCH_SIMULATION
Packit f0b94e
} = require("./index");
Packit f0b94e
Packit f0b94e
module.exports = {
Packit f0b94e
Packit f0b94e
  changeTouchSimulation(enabled) {
Packit f0b94e
    return {
Packit f0b94e
      type: CHANGE_TOUCH_SIMULATION,
Packit f0b94e
      enabled,
Packit f0b94e
    };
Packit f0b94e
  },
Packit f0b94e
Packit f0b94e
};