Reputation: 23189
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
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
Reputation: 24236
You could have a look at jshashtable -
http://code.google.com/p/jshashtable/
Upvotes: 1