e1966344947bfe120e3ed965071c43019d23cfc1942c381ead8a5dede4d01d2798bb86969e0555ac18fbef060e9fb9c0c046d03f1ebae5e3e10ff48fb84edd 593 B

123456789101112
  1. /*---------------------------------------------------------------------------------------------
  2. * Copyright (c) Microsoft Corporation. All rights reserved.
  3. * Licensed under the MIT License. See License.txt in the project root for license information.
  4. *--------------------------------------------------------------------------------------------*/
  5. export class CombinedSpliceable {
  6. constructor(spliceables) {
  7. this.spliceables = spliceables;
  8. }
  9. splice(start, deleteCount, elements) {
  10. this.spliceables.forEach(s => s.splice(start, deleteCount, elements));
  11. }
  12. }