Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

[Request] Overriding the backbone collection.url instead of adding the url to the paginator_core #157

Closed
dlimbu opened this Issue · 4 comments

3 participants

@dlimbu

I am using backbone paginator and i am liking it very much so far. Its cool that we are encapsulating the url inside the paginator_core. But when i have a widget that takes paginator or regular non paginated backbone collection so that i can use the widget with or without paginator. Now i have to have a conditional check at what kind of collection it is to set the correct url property or create separate class just to solve the url difference. I thought IMHO it would really be cool if the library could override the collection.url.

i would really appreciate if i could get some explanation on the design decision behind adding the url inside the paginator_core.

@lenniboy
Owner

Hi, could you please write a test case or jsfiddle describing the problem a little closer?

@dlimbu

Thanks for taking a look at it. I will put an example closer to the problem when i get a chance.

@addyosmani
Owner

ping @dlimbu in case you have time to put together a sample.

@addyosmani
Owner

Closing as we haven't been able to get a test case back.

@addyosmani addyosmani closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.