ingenta-lens
Version:
A novel way of seeing content.
19 lines (13 loc) • 529 B
JavaScript
var AnnotationView = require('../annotation').View;
var CustomAnnotationView = function(node) {
AnnotationView.call(this, node);
};
CustomAnnotationView.Prototype = function() {
this.setClasses = function() {
AnnotationView.prototype.setClasses.call(this);
this.$el.removeClass('custom_annotation').addClass(this.node.name);
};
};
CustomAnnotationView.Prototype.prototype = AnnotationView.prototype;
CustomAnnotationView.prototype = new CustomAnnotationView.Prototype();
module.exports = CustomAnnotationView;