Moving spaceHorizontally and spaceVertically to util.js

This commit is contained in:
Jeff Avallone
2014-12-19 12:11:44 -05:00
parent 870b2e6ed4
commit a50ba68a21
8 changed files with 122 additions and 119 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
import { spaceVertically } from '../../util.js';
import _ from 'lodash';
import Q from 'q';
export default {
@@ -25,7 +26,7 @@ export default {
return part.render(this.partContainer.group());
}))
.then(() => {
this.spaceVertically(this.elements, {
spaceVertically(this.elements, {
padding: 5
});