src/packages.js
function getPackages() {
	var results = [];

	if (extensions && extensions.hasOwnProperty('packages')) {
		var sourceArray = extensions.packages;

		for (index = 0; index < sourceArray.length; ++index) {
		    results.push(sourceArray[index]);
		}
	}

	return results;
}
function getPackages() {
	var results = [];

	if (extensions && extensions.hasOwnProperty('packages')) {
		var sourceArray = extensions.packages;

		for (index = 0; index < sourceArray.length; ++index) {
		    results.push(sourceArray[index]);
		}
	}

	return results;
}
function getPackages ( ) { var results = [ ] ; if ( extensions && extensions . hasOwnProperty ( 'packages' ) ) { var sourceArray = extensions . packages ; for ( index = 0 ; index < sourceArray . length ; ++ index ) { results . push ( sourceArray [ index ] ) ; } } return results ; }
Get the list of the active packages

@return  array
Get the list of the active packages