Skip to content

Instantly share code, notes, and snippets.

@PanJarda
Last active June 24, 2016 12:04
Show Gist options
  • Save PanJarda/c40945f443622361aa20d55e8863ee23 to your computer and use it in GitHub Desktop.
Save PanJarda/c40945f443622361aa20d55e8863ee23 to your computer and use it in GitHub Desktop.
StarUML javascript generator Riot extension
<detail>
/**
* @documentation: closes detail
*
* @param ecloses this dialog
*
*/
close(e) {
//TODO: Implement Me
}
</detail>
require('./detail.tag')
require('./navbar.tag')
<filebrowser>
<detail/>
<navbar/>
this.title = null;
this.state = null;
/**
* @documentation: Shows detail of file by its id.
*
* @param id
*
*/
showDetail(id) {
//TODO: Implement Me
}
/**
* @documentation: Displays dialog for adding files/folders.
*
*/
showAddDialog() {
//TODO: Implement Me
}
/**
* @documentation: Switch state to search.
*
*/
search() {
//TODO: Implement Me
}
</filebrowser>
<navbar>
this.title = null;
</navbar>
@PanJarda
Copy link
Author

classdiagram1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment