enyojs/enyo — pull request #867 by Rayraz (2014-09-29 11:17:14+00:00)
Title: Enyo 4076: VerticalDelegate controlsPerPage executes sizeProp function in wrong scope

`enyo.DataList.delegates.vertical.controlsPerPage` contains the following line of code:
```javascript
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.

The same thing happens further down the file in `enyo.DataList.delegates.vertical.setScrollThreshold`.