Skip to content

Instantly share code, notes, and snippets.

@alangpierce
Created January 6, 2018 05:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alangpierce/da882fbadf1b56732f31d4ee70079cbf to your computer and use it in GitHub Desktop.
Save alangpierce/da882fbadf1b56732f31d4ee70079cbf to your computer and use it in GitHub Desktop.
_clearWorkspace(itemIdsToKeep) {
if (itemIdsToKeep == null) { itemIdsToKeep = []; }
this._closeAllFilesExcept(itemFileId => itemIdsToKeep.includes(itemFileId));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment