Rename computedLimit to limit in limited-array

This commit is contained in:
Piotr Sarnacki 2015-02-02 10:45:17 +01:00
parent 98892425bb
commit 17df511c6a

View File

@ -1,9 +1,9 @@
computedLimit = Ember.computed.limit
limit = Ember.computed.limit
LimitedArray = Ember.ArrayProxy.extend
limit: 10
isLoadedBinding: 'content.isLoaded'
arrangedContent: computedLimit('content', 'limit')
arrangedContent: limit('content', 'limit')
totalLength: (->
@get('content.length')