This website works better with JavaScript.
Explore
Help
Sign In
library
/
jx
Watch
1
Star
1
Fork
You've already forked jx
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3e76e50e98
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '3e76e50e98'
${ noResults }
jx
/
utils.js
209 lines
5.6 KiB
JavaScript
Raw
Normal View
History
Unescape
Escape
utility namespace added
10 years ago
/
*
*
implementation of utility functions to handle collections (associative arrays) and implementation of design patterns (iterator, visitor and observer)
10 years ago
jx
.
utils
.
unique
=
function
(
list
,
getKey
)
{
var
obj
=
{
}
for
(
var
i
=
0
;
i
<
list
.
length
;
i
++
)
{