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

Allow parsing of collection data before saving the models to cache #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alarie
Copy link

@alarie alarie commented May 31, 2015

No description provided.

@ggozad
Copy link
Owner

ggozad commented May 31, 2015

Than you Simon.
Would you please add a test and I will merge asap.

@alarie
Copy link
Author

alarie commented Sep 2, 2015

Sorry, took some time. I added the test case and also updated the .gitignore file. Also, jquery's path within bower seems to be different now, so I updated the specRunner.html as well.

@@ -63,7 +63,16 @@
wp;

wp = wrapped('read', collection, options).done(function (models) {
_.each(models, function (model) { burry.set(model.id, model); });

var burryModels = models;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why copy over models to burryModels?

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

Successfully merging this pull request may close these issues.

2 participants