ultimix

- Main Page
- Data Structures
- Files
- Examples

- File List
- Globals

utilities.js
Go to the documentation of this file.
1
6 if( !ultimix )
7 {
8 ultimix = {};
9 }
10
16 if( !ultimix.utilities )
17 {
18 ultimix.utilities = {};
19 }
20
30 ultimix.utilities.array_unique = function( Arr )
31 {
32 var tmp_arr = new Array();
33
34 for( var i = 0 ; i < Arr.length ; i++ )
35 {
36 if( tmp_arr.indexOf( Arr[ i ] ) == "-1" )
37 {
38 tmp_arr.push( Arr[ i ] );
39 }
40 }
41
42 return( tmp_arr );
43 }