2012-03-04 07:31:04 -05:00
|
|
|
/**
|
|
|
|
* Returns the requesetd type of set
|
|
|
|
*/
|
|
|
|
rectest.set.SetFactory = Class( 'SetFactory',
|
|
|
|
{
|
2012-03-04 08:05:12 -05:00
|
|
|
'public fromId': function( id, base_set, options )
|
2012-03-04 07:31:04 -05:00
|
|
|
{
|
|
|
|
var sets = rectest.set;
|
|
|
|
|
|
|
|
return [
|
|
|
|
null,
|
|
|
|
sets.RandomGroupedSet,
|
|
|
|
null,
|
|
|
|
null
|
2012-03-04 08:05:12 -05:00
|
|
|
][ id ]( base_set, options );
|
2012-03-04 07:31:04 -05:00
|
|
|
}
|
|
|
|
} );
|