Skip to content

Conversation

@doublejosh
Copy link

Allows searching items by key using a string.

$.jStorage.search('my-namespace-values');

@doublejosh
Copy link
Author

Needs testing, adapted from my current addon, related to this issue... #52

@andris9
Copy link
Owner

andris9 commented Aug 12, 2015

This approach assumes that jQuery is present while jStorage does not. Would it be possible to do the same thing but without $.extend (and also add a test for it here)?

There's also an awesome fulltext search library for js called lunr.js but I guess for this specific task it would be an overkill.

@doublejosh
Copy link
Author

Zepto has extend in it's core too. Are there other candidate dependencies?

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