dist/altspace.js
function getPenId() {
	var url = getParsedUrl();
	var splitPath = url.path.split('/');
	var id = splitPath[splitPath.length - 1];
	return id;
}
function getPenId() {
	var url = getParsedUrl();
	var splitPath = url.path.split('/');
	var id = splitPath[splitPath.length - 1];
	return id;
}
function getPenId ( ) { var url = getParsedUrl ( ) ; var splitPath = url . path . split ( '/' ) ; var id = splitPath [ splitPath . length - 1 ] ; return id ; }
Returns the pen ID, useful for setting the sync instanceId.
@method getPenId
@return {String}
@memberof module:altspace/utilities/codePen
Returns the pen ID useful for setting the sync instanceId .