mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
36 lines
902 B
JavaScript
36 lines
902 B
JavaScript
/*==============================================================================
|
|
Backbone MV for Annotations
|
|
|
|
|
|
TODO:
|
|
|
|
==============================================================================*/
|
|
/** Single Tag model
|
|
*/
|
|
var Annotation = BaseModel.extend( LoggableMixin ).extend({
|
|
|
|
// uncomment this out see log messages
|
|
logger : console,
|
|
|
|
toString : function(){
|
|
return 'Annotation()';
|
|
}
|
|
});
|
|
|
|
//------------------------------------------------------------------------------
|
|
/** Single Tag view
|
|
*/
|
|
var AnnotationView = BaseView.extend( LoggableMixin ).extend({
|
|
|
|
// uncomment this out see log messages
|
|
logger : console,
|
|
|
|
toString : function(){
|
|
return 'AnnotationView()';
|
|
}
|
|
});
|
|
|
|
//==============================================================================
|
|
/** YAGNI? A collection of Annotations, mainView?
|
|
*/
|