code: function _handleFileChange(id, change) {
          // If the filename changed but the saved state didn't change, then the file must have been renamed
          if (change.previous && !change.hasOwnProperty("previousSaved")) {
              _stopAssetGeneration(id);
              _stateManager.deactivate(id);
          }
      }
docs: Handler for a the "file" change event fired by Document objects. Disables
  asset generation after Save As is performed on an an already-saved file.
  
  @private
  @param {number} id The ID of the Document that changed
  @param {{previous: string=, previousSaved: boolean=}} change The file
  change event emitted by the Document