Skip to content

Instantly share code, notes, and snippets.

@matthieu-D
Last active August 14, 2017 13:04
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 matthieu-D/0a6785f28169839880bd05c7b5192d23 to your computer and use it in GitHub Desktop.
Save matthieu-D/0a6785f28169839880bd05c7b5192d23 to your computer and use it in GitHub Desktop.
listDir = (path, dirName) => {
this.fileNavigator.listDir(path, dirName)
.then((entries) => {
this.items = entries;
})
.catch(this.handleError);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment