/static/scripts/mvc/annotations.js
JavaScript | 35 lines | 12 code | 6 blank | 17 comment | 0 complexity | d8fe8cd635fc08ff60b6eff03bcfb407 MD5 | raw file
- /*==============================================================================
- 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?
- */