Ghost/core/client
Kevin Ansfield 459f2c4355 Improve PaginationRoute mixin
no issue
- returns the promise/result from `loadNextPage` so that it's return value can be utilised in closure actions
- sets the `isLoading` property in `loadFirstPage` to match `loadNextPage` behaviour
- reset the `isLoading` property even if the request fails
- adds a `didReceivePaginationMeta` hook so that consumers of the mixin can use the metadata values without having to rely on observers
  - eg. pulling the `total` into a separate property that can be manipulated when items are added/removed but still reset to the sever's total value the next time a page is loaded
- renames the `pagination-route` mixin to simply `pagination` as it's not tied to routes and works equally well in other objects that need to paginate an API resource
2016-04-19 10:53:45 +01:00
..
app Improve PaginationRoute mixin 2016-04-19 10:53:45 +01:00
config deps: ember@2.5.0 2016-04-15 00:24:57 -05:00
lib Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
public/assets Move user/cover image files used in admin team area into the client folder 2016-01-14 16:26:48 +00:00
tests deps: ember@2.5.0 2016-04-15 00:24:57 -05:00
.ember-cli grunt init, dev 2015-03-11 12:37:41 -06:00
.gitignore Convert Sass to Myth 2015-05-22 19:05:09 +01:00
.jscsrc Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
.jshintrc Remove $ from jshint's predef, always use Ember's $ 2015-12-01 20:52:25 +00:00
.watchmanconfig deps: ember-cli@1.13.13 2015-11-30 11:21:39 -06:00
bower.json deps: ember@2.5.0 2016-04-15 00:24:57 -05:00
ember-cli-build.js Drop XRegExp dependency 2016-03-30 19:45:20 +01:00
package.json deps: ember-cli@2.5.0 2016-04-17 20:05:42 -05:00
testem.js deps: ember-cli@2.4.0 2016-03-01 12:49:28 +00:00