PageRenderTime 45ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/static/scripts/mvc/annotations.js

https://bitbucket.org/jmchilton/galaxy-central-reports-config-enhancements
JavaScript | 35 lines | 12 code | 6 blank | 17 comment | 0 complexity | d8fe8cd635fc08ff60b6eff03bcfb407 MD5 | raw file
  1. /*==============================================================================
  2. Backbone MV for Annotations
  3. TODO:
  4. ==============================================================================*/
  5. /** Single Tag model
  6. */
  7. var Annotation = BaseModel.extend( LoggableMixin ).extend({
  8. // uncomment this out see log messages
  9. logger : console,
  10. toString : function(){
  11. return 'Annotation()';
  12. }
  13. });
  14. //------------------------------------------------------------------------------
  15. /** Single Tag view
  16. */
  17. var AnnotationView = BaseView.extend( LoggableMixin ).extend({
  18. // uncomment this out see log messages
  19. logger : console,
  20. toString : function(){
  21. return 'AnnotationView()';
  22. }
  23. });
  24. //==============================================================================
  25. /** YAGNI? A collection of Annotations, mainView?
  26. */