Simplifying code related to passing rendering through to nested node

This commit is contained in:
Jeff Avallone
2014-12-10 19:01:57 -05:00
parent ff7525a6e4
commit f0c25dfc41
11 changed files with 115 additions and 113 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ import Base from './base.js';
export default _.extend({}, Base, {
type: 'charset',
render() {
_render() {
this.renderLabeledBox(this.invert() ? 'None of:' : 'One of:');
this.partContainer = this.container.group();
@@ -15,7 +15,7 @@ export default _.extend({}, Base, {
}).bind(this));
},
position() {
_position() {
_.invoke(this.parts.elements, 'position');
this.spaceVertically(this.parts.elements, {