File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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%' ;
Original file line number Diff line number Diff line change 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" : [
You can’t perform that action at this time.
0 commit comments