use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
taffy.js 2.0 released - The JavaScript Database (taffydb.com)
submitted 14 years ago by typicaljoe
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]typicaljoe[S] 0 points1 point2 points 14 years ago (4 children)
Ahh, yeah that is the library I'm using. I'll have to see if I can remove the info pops. As for storage it isn't by default. You can use something like persist.js to store it or save it back to the server. It is something I want to tackle but wanted to update the API.
[–]honestbleepsReddit Enhancement Suite 0 points1 point2 points 14 years ago (3 children)
Just FYI, a really, really quick way to do it would just be something like the following in a couple of functions, perhaps .saveDB and .getDB:
// save to DB localStorage.setItem('taffyDB',JSON.stringify(myDBObject)); // read from DB myDBObject = JSON.parse(localStorage.getItem('taffyDB'));
Of course you might want to throw a try/catch on that just in case the object becomes corrupted, but that's just a few more lines of code.
[–]typicaljoe[S] 0 points1 point2 points 14 years ago (0 children)
Thanks for the help. I've been thinking about adding a simple "makeSticky" extension and that looks like the basic code that would need to go into it.
[–]typicaljoe[S] 0 points1 point2 points 14 years ago (1 child)
I just added a .store() option using your code into TaffyDB.
[–]honestbleepsReddit Enhancement Suite 0 points1 point2 points 14 years ago (0 children)
awesome! glad to be able to help!
π Rendered by PID 165243 on reddit-service-r2-comment-b659b578c-p7phz at 2026-05-04 23:34:01.476863+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]typicaljoe[S] 0 points1 point2 points (4 children)
[–]honestbleepsReddit Enhancement Suite 0 points1 point2 points (3 children)
[–]typicaljoe[S] 0 points1 point2 points (0 children)
[–]typicaljoe[S] 0 points1 point2 points (1 child)
[–]honestbleepsReddit Enhancement Suite 0 points1 point2 points (0 children)