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

Add support for Titanium.Properties storage. #14

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mfferreira
Copy link

Now the module can be required (nodejs).

Now the module can be required (nodejs).
@@ -429,4 +461,6 @@ if (typeof module !== "undefined" && module.exports) {
root.Cache = Cache;
}

module.exports = Cache;
Copy link
Owner

Choose a reason for hiding this comment

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

This is already done on line 457, why are you doing it again here?

Copy link
Author

Choose a reason for hiding this comment

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

Was in a rush doing something else and didn't see it.
I'll add another PR without it. Please reject this one.

@mfferreira mfferreira closed this Oct 21, 2013
@mfferreira mfferreira reopened this Oct 21, 2013
// Titanium OS Properties Storage
Cache.TiStorage = function(namespace) {
this.prefix_ = 'cache-storage.' + (namespace || 'default') + '.';
// Regexp String Escaping from http://simonwillison.net/2006/Jan/20/escape/#p-6
Copy link
Owner

Choose a reason for hiding this comment

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

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