comments.js 896 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. class A // comment 1
  2. // comment 2
  3. extends B {}
  4. class A extends B // comment1
  5. // comment2
  6. // comment3
  7. {}
  8. class A /* a */ extends B {}
  9. class A extends B /* a */ {}
  10. class A extends /* a */ B {}
  11. (class A // comment 1
  12. // comment 2
  13. extends B {});
  14. (class A extends B // comment1
  15. // comment2
  16. // comment3
  17. {});
  18. (class A /* a */ extends B {});
  19. (class A extends B /* a */ {});
  20. (class A extends /* a */ B {});
  21. class x {
  22. focus() // do nothing
  23. {
  24. // do nothing
  25. }
  26. }
  27. class X {
  28. TEMPLATE =
  29. // tab index is needed so we can focus, which is needed for keyboard events
  30. '<div class="ag-large-text" tabindex="0">' +
  31. '<div class="ag-large-textarea"></div>' +
  32. '</div>';
  33. }
  34. export class SnapshotLogger {
  35. constructor(
  36. retentionPeriod: number = 5 * 60 * 1000, // retain past five minutes
  37. snapshotInterval: number = 30 * 1000, // snapshot no more than every 30s
  38. ) {
  39. }
  40. }