Adding some styling to start and end anchors

This commit is contained in:
Jeff Avallone committed 2014-12-03 20:02:56 -05:00
1 parent a88c4821b7
commit d1a058768e
4 files changed
+21 -9

No files matched your search

+4 -2
View File
@@ -10,7 +10,8 @@ export default _.extend({}, Base, {
this.contents = {};
if (this.anchor_start()) {
this.contents.anchor_start = this.render_label(this.container, 'Start of line');
this.contents.anchor_start = this.render_label(this.container, 'Start of line')
.attr({ 'class': 'anchor' });
}
this.contents.parts = _.map(this.parts(), function(part) {
@@ -20,7 +21,8 @@ export default _.extend({}, Base, {
});
if (this.anchor_end()) {
this.contents.anchor_end = this.render_label(this.container, 'End of line');
this.contents.anchor_end = this.render_label(this.container, 'End of line')
.attr({ 'class': 'anchor' });
}
},