text: 'use strict'
  
  // IMPORT ALL THE THINGS NEEDED FROM OTHER JAVASCRIPT SOURCE FILES
  import { jsTPS_Transaction } from "./jsTPS.js"
  
  // THIS TRANSACTION IS FOR ADDING A NEW ITEM TO A TODO LIST
  export default class AddNewItem_Transaction extends jsTPS_Transaction {
      constructor(initApp) {
          super();
          this.app = initApp;
      }
  
      doTransaction() {
          // MAKE A NEW ITEM
          this.itemAdded = this.app.addNewToDoListItem();
      }
  
      undoTransaction() {
          this.app.RemoveItem(this.itemAdded);
      }
  }