Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove caching of unnamed datasets #116

Merged

Conversation

jharding
Copy link
Contributor

No description provided.

@timtrueman
Copy link
Contributor

Ship it!

@jharding jharding merged commit f808b04 into twitter:integration-0.9.0 Mar 15, 2013
@tuliolucas
Copy link

Hey jharding,

I want to do a example using a external access, but I have a problems with a cache. I think there is a connection with this fix. Can you help me?

My example.js

$(document).ready(function() { $('.example-countries .typeahead').typeahead({ prefetch: 'https://dome.firebaseio.com/users_to_search.json', limit: 10 }); }); Its work, but is not refresh.

@jharding
Copy link
Contributor Author

In v0.9.0, that'll work as expected. For now, you'll have to give it a name and add use the ttl_ms option:

$('.example-countries .typeahead').typeahead({
  name: 'whatever',
  ttl_ms: 0,
  prefetch: 'https://dome.firebaseio.com/users_to_search.json',
  limit: 10
});

@tuliolucas
Copy link

Thank's for answered.

@tuliolucas
Copy link

I don't know that this chat is a better place to ask you a question. But, I'm doing code to show all users in my app, so I want to show all result less some especific (in this case, I can't show up own user logged) . How can I do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants