Skip to content

Commit 0595ee3

Browse files
author
Jan Miksovsky
committed
Update components in preparation for 0.6.3 release
1 parent 52b8c66 commit 0595ee3

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

basic-spread-fit.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,11 @@
8080
},
8181

8282
_layout: function(width, height) {
83-
var count = this.collective.content.length;
83+
var items = this.collective.items;
84+
var count = items.length;
8485
this.style.width = (count * width) + 'px';
8586
this.style.height = height + 'px';
86-
this.collective.content.forEach(function(element, index) {
87+
items.forEach(function(element, index) {
8788
var offset = (index + 0.5) * width;
8889
element.style.left = offset + 'px';
8990
element.style.top = '50%';

bower.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"name": "basic-spread-fit",
33
"description": "Spreads out a set of items horizontally so they take equal space.",
4-
"version": "0.6.2",
4+
"version": "0.6.3",
55
"license": "MIT",
66
"main": "basic-spread-fit.html",
77
"dependencies": {
8-
"basic-aspect": "basic-web-components/basic-aspect#0.6.2",
9-
"basic-stack": "basic-web-components/basic-stack#0.6.2",
8+
"basic-aspect": "basic-web-components/basic-aspect#0.6.3",
9+
"basic-stack": "basic-web-components/basic-stack#0.6.3",
1010
"polymer": "Polymer/polymer#^1.1"
1111
},
1212
"devDependencies": {
13-
"basic-framed-content": "basic-web-components/basic-framed-content#0.6.2",
13+
"basic-framed-content": "basic-web-components/basic-framed-content#0.6.3",
1414
"web-component-tester": "*"
1515
},
1616
"keywords": [

0 commit comments

Comments
 (0)