VerticalDelegate controlsPerPage executes sizeProp function in wrong scope

Description

enyo.DataList.delegates.vertical contains the following line of code:
perPage = list.controlsPerPage = Math.ceil(((fn(list) * multi) / childSize) + 1);

Note the fn variable, it references the width or height methods on the delegate, but it gets executed globally. However, the methods it references seem designed to be executed within the delegate's scope.

Environment

Any

Activity

Show:
Cole Davis (Enyo Team)
October 1, 2014, 11:35 PM

Cloning this into our internal Jira and will update status on completion and integration.

AT
October 3, 2014, 8:02 PM

Merged into enyo master.

Lis Hammel
March 3, 2015, 7:31 PM

- ok to close this issue? Thanks.

Ruben Vreeken
March 4, 2015, 11:28 AM

Feel free to close it.

Lis Hammel
March 6, 2015, 12:43 AM

Thanks Ruben.

Assignee

Ruben Vreeken

Reporter

Ruben Vreeken

Labels

None

External issue ID

None

Tango Test Run Elements

None

Old Issue Key

None

Components

Affects versions

Priority

None
Configure