tester
tester

Reputation: 23189

jQuery equivalent of PrototypeJs's Hash() class?

http://api.prototypejs.org/language/Hash/

trying to find the jQuery equivalent of new Hash() that is found in prototypejs for a library conversion.

Any idea where to start?

Upvotes: 2

Views: 681

Answers (2)

Mrchief
Mrchief

Reputation: 76258

There isn't a direct clone, but depending on what you want to do, jQuery has an equivalent (almost maybe?):

E.g.:

Proto           jQuery
-----           ------
each            each
toQueryString   param
merge           extend/merge
index           index
get             get

and so on...

Upvotes: 0

ipr101
ipr101

Reputation: 24236

You could have a look at jshashtable -

http://code.google.com/p/jshashtable/

Upvotes: 1

Related Questions